Enum hydrus_api::api_core::common::FileIdentifier
source · pub enum FileIdentifier {
ID(u64),
Hash(String),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FileIdentifier
impl Clone for FileIdentifier
source§fn clone(&self) -> FileIdentifier
fn clone(&self) -> FileIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileIdentifier
impl Debug for FileIdentifier
source§impl From<FileIdentifier> for FileSelection
impl From<FileIdentifier> for FileSelection
source§fn from(id: FileIdentifier) -> Self
fn from(id: FileIdentifier) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FileIdentifier
impl Send for FileIdentifier
impl Sync for FileIdentifier
impl Unpin for FileIdentifier
impl UnwindSafe for FileIdentifier
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