pub struct RequestSummary {
pub id: String,
pub display_name: String,
pub about: String,
pub asked_at: u64,
pub expires_at: u64,
}Expand description
One pending request, as the operator’s queue and the asker’s own waiting page read it (D72).
A copy rather than a borrow, for the same reason InviteSummary is
one: the lock is released before anything is rendered.
Fields§
§id: StringThe request id. Half of the claim link, and the id the operator grants against.
display_name: StringWhat the asker called themselves.
about: StringThe one line they wrote.
asked_at: u64Unix seconds at asking.
expires_at: u64Unix seconds after which it is swept.
Trait Implementations§
Source§impl Clone for RequestSummary
impl Clone for RequestSummary
Source§fn clone(&self) -> RequestSummary
fn clone(&self) -> RequestSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RequestSummary
impl RefUnwindSafe for RequestSummary
impl Send for RequestSummary
impl Sync for RequestSummary
impl Unpin for RequestSummary
impl UnsafeUnpin for RequestSummary
impl UnwindSafe for RequestSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more