pub enum RawFileRef {
ItemHash(ItemHash),
UserDefined(String),
}Expand description
File reference, as deserialized in STORE messages. Does not contain information about the owner.
Variants§
Trait Implementations§
Source§impl Clone for RawFileRef
impl Clone for RawFileRef
Source§fn clone(&self) -> RawFileRef
fn clone(&self) -> RawFileRef
Returns a duplicate 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 RawFileRef
impl Debug for RawFileRef
Source§impl<'de> Deserialize<'de> for RawFileRef
impl<'de> Deserialize<'de> for RawFileRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RawFileRef
impl Display for RawFileRef
Source§impl PartialEq for RawFileRef
impl PartialEq for RawFileRef
Source§impl Serialize for RawFileRef
impl Serialize for RawFileRef
impl StructuralPartialEq for RawFileRef
Auto Trait Implementations§
impl Freeze for RawFileRef
impl RefUnwindSafe for RawFileRef
impl Send for RawFileRef
impl Sync for RawFileRef
impl Unpin for RawFileRef
impl UnwindSafe for RawFileRef
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