pub struct InlineObject {Show 14 fields
pub name: String,
pub role: Role,
pub last_modified: String,
pub editor_type: EditorType,
pub thumbnail_url: Option<String>,
pub version: String,
pub document: Box<DocumentNode>,
pub components: HashMap<String, Component>,
pub component_sets: HashMap<String, ComponentSet>,
pub schema_version: f64,
pub styles: HashMap<String, Style>,
pub link_access: Option<String>,
pub main_file_key: Option<String>,
pub branches: Option<Vec<InlineObjectBranchesInner>>,
}
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: Option<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.
document: Box<DocumentNode>
§components: HashMap<String, Component>
A mapping from component IDs to component metadata.
component_sets: HashMap<String, ComponentSet>
A mapping from component set IDs to component set metadata.
schema_version: f64
The version of the file schema that this file uses.
styles: HashMap<String, Style>
A mapping from style IDs to style metadata.
link_access: Option<String>
The share permission level of the file link.
main_file_key: Option<String>
The key of the main file for this file. If present, this file is a component or component set.
branches: Option<Vec<InlineObjectBranchesInner>>
A list of branches for this file.
Implementations§
Source§impl InlineObject
impl InlineObject
pub fn new( name: String, role: Role, last_modified: String, editor_type: EditorType, version: String, document: DocumentNode, components: HashMap<String, Component>, component_sets: HashMap<String, ComponentSet>, schema_version: f64, styles: HashMap<String, Style>, ) -> InlineObject
Trait Implementations§
Source§impl Clone for InlineObject
impl Clone for InlineObject
Source§fn clone(&self) -> InlineObject
fn clone(&self) -> InlineObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more