pub struct Sheet {Show 28 fields
pub id: u64,
pub name: String,
pub owner: Option<String>,
pub owner_id: Option<u64>,
pub rows: Vec<Row>,
pub columns: Vec<Column>,
pub total_row_count: u64,
pub modified_at: String,
pub access_level: String,
pub created_at: String,
pub permalink: String,
pub source: Option<Source>,
pub favorite: Option<bool>,
pub filters: Option<Vec<Filter>>,
pub version: Option<u64>,
pub cell_image_upload_enabled: Option<bool>,
pub dependencies_enabled: Option<bool>,
pub effective_attachment_options: Vec<String>,
pub gantt_config: Option<GanttConfig>,
pub gantt_enabled: Option<bool>,
pub has_summary_fields: Option<bool>,
pub is_multi_picklist_enabled: Option<bool>,
pub read_only: Option<bool>,
pub resource_management_enabled: Option<bool>,
pub resource_management_type: Option<String>,
pub user_permissions: UserPermissions,
pub user_settings: UserSettings,
pub workspace: Option<Workspace>,
}
Fields§
§id: u64
§name: String
§owner: Option<String>
§owner_id: Option<u64>
§rows: Vec<Row>
§columns: Vec<Column>
§total_row_count: u64
§modified_at: String
§access_level: String
§created_at: String
§permalink: String
§source: Option<Source>
§favorite: Option<bool>
§filters: Option<Vec<Filter>>
§version: Option<u64>
§cell_image_upload_enabled: Option<bool>
§dependencies_enabled: Option<bool>
§effective_attachment_options: Vec<String>
§gantt_config: Option<GanttConfig>
§gantt_enabled: Option<bool>
§has_summary_fields: Option<bool>
§is_multi_picklist_enabled: Option<bool>
§read_only: Option<bool>
§resource_management_enabled: Option<bool>
§resource_management_type: Option<String>
§user_permissions: UserPermissions
§user_settings: UserSettings
§workspace: Option<Workspace>
Implementations§
Source§impl Sheet
impl Sheet
Sourcepub fn get_row_by_id(
&self,
row_id: u64,
) -> Result<&Row, Box<dyn Error + Send + Sync>>
pub fn get_row_by_id( &self, row_id: u64, ) -> Result<&Row, Box<dyn Error + Send + Sync>>
Retrieve a specified Row
- for a given row id - from the Sheet
Sourcepub fn id_to_row(&self) -> RowIdToRow<'_>
pub fn id_to_row(&self) -> RowIdToRow<'_>
Retrieve a mapping of row id to Row
object.
Note: this is likely more efficient when multiple Row
s are to be
retrieved based on their row id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sheet
impl<'de> Deserialize<'de> for Sheet
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<'a> From<&'a Sheet> for ColumnMapper<'a>
impl<'a> From<&'a Sheet> for ColumnMapper<'a>
impl StructuralPartialEq for Sheet
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnwindSafe for Sheet
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