pub struct GetFileMeta {
pub name: String,
pub folder_name: Option<String>,
pub last_touched_at: String,
pub creator: Box<User>,
pub last_touched_by: Option<Box<User>>,
pub thumbnail_url: Option<String>,
pub editor_type: EditorType,
pub role: Option<Role>,
pub link_access: Option<LinkAccess>,
pub url: Option<String>,
pub version: Option<String>,
}Fields§
§name: StringThe name of the file.
folder_name: Option<String>The name of the project containing the file.
last_touched_at: StringThe UTC ISO 8601 time at which the file content was last modified.
creator: Box<User>The user who created the file.
last_touched_by: Option<Box<User>>The user who last modified the file contents.
thumbnail_url: Option<String>A URL to a thumbnail image of the file.
editor_type: EditorType§role: Option<Role>§link_access: Option<LinkAccess>§url: Option<String>The URL of the file.
version: Option<String>The version number of the file. This number is incremented when a file is modified and can be used to check if the file has changed between requests.
Implementations§
Source§impl GetFileMeta
impl GetFileMeta
pub fn new( name: String, last_touched_at: String, creator: User, editor_type: EditorType, ) -> GetFileMeta
Trait Implementations§
Source§impl Clone for GetFileMeta
impl Clone for GetFileMeta
Source§fn clone(&self) -> GetFileMeta
fn clone(&self) -> GetFileMeta
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 GetFileMeta
impl Debug for GetFileMeta
Source§impl Default for GetFileMeta
impl Default for GetFileMeta
Source§fn default() -> GetFileMeta
fn default() -> GetFileMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetFileMeta
impl<'de> Deserialize<'de> for GetFileMeta
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 PartialEq for GetFileMeta
impl PartialEq for GetFileMeta
Source§impl Serialize for GetFileMeta
impl Serialize for GetFileMeta
impl StructuralPartialEq for GetFileMeta
Auto Trait Implementations§
impl Freeze for GetFileMeta
impl RefUnwindSafe for GetFileMeta
impl Send for GetFileMeta
impl Sync for GetFileMeta
impl Unpin for GetFileMeta
impl UnwindSafe for GetFileMeta
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