Struct ironoxide::document::DocumentMetadataResult
source · pub struct DocumentMetadataResult(/* private fields */);
Expand description
Full metadata for a document.
Result from document_get_metadata and document_update_name.
Implementations§
source§impl DocumentMetadataResult
impl DocumentMetadataResult
sourcepub fn id(&self) -> &DocumentId
pub fn id(&self) -> &DocumentId
ID of the document
sourcepub fn name(&self) -> Option<&DocumentName>
pub fn name(&self) -> Option<&DocumentName>
Name of the document
sourcepub fn created(&self) -> &OffsetDateTime
pub fn created(&self) -> &OffsetDateTime
Date and time when the document was created
sourcepub fn last_updated(&self) -> &OffsetDateTime
pub fn last_updated(&self) -> &OffsetDateTime
Date and time when the document was last updated
sourcepub fn association_type(&self) -> &AssociationType
pub fn association_type(&self) -> &AssociationType
How the requesting user has access to the document
sourcepub fn visible_to_users(&self) -> &Vec<VisibleUser>
pub fn visible_to_users(&self) -> &Vec<VisibleUser>
List of users who have access to the document
sourcepub fn visible_to_groups(&self) -> &Vec<VisibleGroup>
pub fn visible_to_groups(&self) -> &Vec<VisibleGroup>
List of groups that have access to the document
Trait Implementations§
source§impl Clone for DocumentMetadataResult
impl Clone for DocumentMetadataResult
source§fn clone(&self) -> DocumentMetadataResult
fn clone(&self) -> DocumentMetadataResult
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 DocumentMetadataResult
impl Debug for DocumentMetadataResult
source§impl Hash for DocumentMetadataResult
impl Hash for DocumentMetadataResult
source§impl PartialEq for DocumentMetadataResult
impl PartialEq for DocumentMetadataResult
source§fn eq(&self, other: &DocumentMetadataResult) -> bool
fn eq(&self, other: &DocumentMetadataResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DocumentMetadataResult
impl StructuralEq for DocumentMetadataResult
impl StructuralPartialEq for DocumentMetadataResult
Auto Trait Implementations§
impl RefUnwindSafe for DocumentMetadataResult
impl Send for DocumentMetadataResult
impl Sync for DocumentMetadataResult
impl Unpin for DocumentMetadataResult
impl UnwindSafe for DocumentMetadataResult
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more