pub struct GetFileNodes {
pub name: String,
pub role: Role,
pub last_modified: String,
pub editor_type: EditorType,
pub thumbnail_url: String,
pub version: String,
pub nodes: HashMap<String, GetFileNodesValue>,
}Fields§
§name: StringThe name of the file as it appears in the editor.
role: Role§last_modified: StringThe UTC ISO 8601 time at which the file was last modified.
editor_type: EditorType§thumbnail_url: StringA URL to a thumbnail image of the file.
version: StringThe 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.
nodes: HashMap<String, GetFileNodesValue>A mapping from node IDs to node metadata.
Implementations§
Source§impl GetFileNodes
impl GetFileNodes
pub fn new( name: String, role: Role, last_modified: String, editor_type: EditorType, thumbnail_url: String, version: String, nodes: HashMap<String, GetFileNodesValue>, ) -> GetFileNodes
Trait Implementations§
Source§impl Clone for GetFileNodes
impl Clone for GetFileNodes
Source§fn clone(&self) -> GetFileNodes
fn clone(&self) -> GetFileNodes
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 GetFileNodes
impl Debug for GetFileNodes
Source§impl Default for GetFileNodes
impl Default for GetFileNodes
Source§fn default() -> GetFileNodes
fn default() -> GetFileNodes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetFileNodes
impl<'de> Deserialize<'de> for GetFileNodes
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 GetFileNodes
impl PartialEq for GetFileNodes
Source§impl Serialize for GetFileNodes
impl Serialize for GetFileNodes
impl StructuralPartialEq for GetFileNodes
Auto Trait Implementations§
impl Freeze for GetFileNodes
impl RefUnwindSafe for GetFileNodes
impl Send for GetFileNodes
impl Sync for GetFileNodes
impl Unpin for GetFileNodes
impl UnwindSafe for GetFileNodes
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