pub struct GetLinkOptions<T: RemoteUserIdRef> {
pub remote: T,
pub time: Option<Instant>,
}Fields§
§remote: T§time: Option<Instant>Trait Implementations§
Source§impl<T: Clone + RemoteUserIdRef> Clone for GetLinkOptions<T>
impl<T: Clone + RemoteUserIdRef> Clone for GetLinkOptions<T>
Source§fn clone(&self) -> GetLinkOptions<T>
fn clone(&self) -> GetLinkOptions<T>
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 moreSource§impl<T: Debug + RemoteUserIdRef> Debug for GetLinkOptions<T>
impl<T: Debug + RemoteUserIdRef> Debug for GetLinkOptions<T>
impl<T: Eq + RemoteUserIdRef> Eq for GetLinkOptions<T>
Source§impl<T: Hash + RemoteUserIdRef> Hash for GetLinkOptions<T>
impl<T: Hash + RemoteUserIdRef> Hash for GetLinkOptions<T>
Source§impl<T: Ord + RemoteUserIdRef> Ord for GetLinkOptions<T>
impl<T: Ord + RemoteUserIdRef> Ord for GetLinkOptions<T>
Source§fn cmp(&self, other: &GetLinkOptions<T>) -> Ordering
fn cmp(&self, other: &GetLinkOptions<T>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq + RemoteUserIdRef> PartialEq for GetLinkOptions<T>
impl<T: PartialEq + RemoteUserIdRef> PartialEq for GetLinkOptions<T>
Source§impl<T: PartialOrd + RemoteUserIdRef> PartialOrd for GetLinkOptions<T>
impl<T: PartialOrd + RemoteUserIdRef> PartialOrd for GetLinkOptions<T>
impl<T: PartialEq + RemoteUserIdRef> StructuralPartialEq for GetLinkOptions<T>
Auto Trait Implementations§
impl<T> Freeze for GetLinkOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for GetLinkOptions<T>where
T: RefUnwindSafe,
impl<T> Send for GetLinkOptions<T>where
T: Send,
impl<T> Sync for GetLinkOptions<T>where
T: Sync,
impl<T> Unpin for GetLinkOptions<T>where
T: Unpin,
impl<T> UnsafeUnpin for GetLinkOptions<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for GetLinkOptions<T>where
T: UnwindSafe,
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