#[repr(transparent)]pub struct FileId(pub i64);Tuple Fields§
§0: i64Trait Implementations§
Source§impl<'a> From<&'a FileTransferMeta> for FileId
impl<'a> From<&'a FileTransferMeta> for FileId
Source§fn from(ft: &'a FileTransferMeta) -> Self
fn from(ft: &'a FileTransferMeta) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a RcvFileTransfer> for FileId
impl<'a> From<&'a RcvFileTransfer> for FileId
Source§fn from(ft: &'a RcvFileTransfer) -> Self
fn from(ft: &'a RcvFileTransfer) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a SndFileTransfer> for FileId
impl<'a> From<&'a SndFileTransfer> for FileId
Source§fn from(ft: &'a SndFileTransfer) -> Self
fn from(ft: &'a SndFileTransfer) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a mut FileTransferMeta> for FileId
impl<'a> From<&'a mut FileTransferMeta> for FileId
Source§fn from(ft: &'a mut FileTransferMeta) -> Self
fn from(ft: &'a mut FileTransferMeta) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a mut RcvFileTransfer> for FileId
impl<'a> From<&'a mut RcvFileTransfer> for FileId
Source§fn from(ft: &'a mut RcvFileTransfer) -> Self
fn from(ft: &'a mut RcvFileTransfer) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a mut SndFileTransfer> for FileId
impl<'a> From<&'a mut SndFileTransfer> for FileId
Source§fn from(ft: &'a mut SndFileTransfer) -> Self
fn from(ft: &'a mut SndFileTransfer) -> Self
Converts to this type from the input type.
Source§impl From<FileTransferMeta> for FileId
impl From<FileTransferMeta> for FileId
Source§fn from(ft: FileTransferMeta) -> Self
fn from(ft: FileTransferMeta) -> Self
Converts to this type from the input type.
Source§impl From<RcvFileTransfer> for FileId
impl From<RcvFileTransfer> for FileId
Source§fn from(ft: RcvFileTransfer) -> Self
fn from(ft: RcvFileTransfer) -> Self
Converts to this type from the input type.
Source§impl From<SndFileTransfer> for FileId
impl From<SndFileTransfer> for FileId
Source§fn from(ft: SndFileTransfer) -> Self
fn from(ft: SndFileTransfer) -> Self
Converts to this type from the input type.
Source§impl Ord for FileId
impl Ord for FileId
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 PartialOrd for FileId
impl PartialOrd for FileId
impl Copy for FileId
impl Eq for FileId
impl StructuralPartialEq for FileId
Auto Trait Implementations§
impl Freeze for FileId
impl RefUnwindSafe for FileId
impl Send for FileId
impl Sync for FileId
impl Unpin for FileId
impl UnsafeUnpin for FileId
impl UnwindSafe for FileId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more