pub struct PresentationRef {
pub presentation_type: String,
pub path: String,
pub hash: DocumentId,
pub default: bool,
}Expand description
Reference to a presentation layer.
Fields§
§presentation_type: StringPresentation type identifier.
path: StringRelative path within archive.
hash: DocumentIdHash of file contents.
default: boolWhether this is the default presentation.
Trait Implementations§
Source§impl Clone for PresentationRef
impl Clone for PresentationRef
Source§fn clone(&self) -> PresentationRef
fn clone(&self) -> PresentationRef
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 PresentationRef
impl Debug for PresentationRef
Source§impl<'de> Deserialize<'de> for PresentationRef
impl<'de> Deserialize<'de> for PresentationRef
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
Auto Trait Implementations§
impl Freeze for PresentationRef
impl RefUnwindSafe for PresentationRef
impl Send for PresentationRef
impl Sync for PresentationRef
impl Unpin for PresentationRef
impl UnsafeUnpin for PresentationRef
impl UnwindSafe for PresentationRef
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