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