pub struct EventNode { /* private fields */ }Expand description
Represents a node, as part of an Event.
Implementations§
Source§impl EventNode
impl EventNode
Sourcepub fn modified_at(&self) -> Option<DateTime<Utc>>
pub fn modified_at(&self) -> Option<DateTime<Utc>>
Returns the last modified date of the node.
Sourcepub fn created_at(&self) -> Option<DateTime<Utc>>
pub fn created_at(&self) -> Option<DateTime<Utc>>
Returns the creation date of the node.
Sourcepub fn download_id(&self) -> Option<&str>
pub fn download_id(&self) -> Option<&str>
Returns the ID of the public link this node is from.
Sourcepub fn condensed_mac(&self) -> Option<&[u8; 8]>
pub fn condensed_mac(&self) -> Option<&[u8; 8]>
Returns the full-coverage condensed MAC signature of the node.
Sourcepub fn sparse_checksum(&self) -> Option<&[u8; 16]>
pub fn sparse_checksum(&self) -> Option<&[u8; 16]>
Returns the sparse CRC32-based checksum of the node.
Sourcepub fn has_thumbnail(&self) -> bool
pub fn has_thumbnail(&self) -> bool
Returns whether this node has a associated thumbnail.
Sourcepub fn has_preview_image(&self) -> bool
pub fn has_preview_image(&self) -> bool
Returns whether this node has an associated preview image.
Trait Implementations§
impl StructuralPartialEq for EventNode
Auto Trait Implementations§
impl Freeze for EventNode
impl RefUnwindSafe for EventNode
impl Send for EventNode
impl Sync for EventNode
impl Unpin for EventNode
impl UnwindSafe for EventNode
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