pub struct Sheet {Show 16 fields
pub id: String,
pub provider: Option<String>,
pub account_id: Option<String>,
pub owner_user_id: Option<String>,
pub name: String,
pub description: Option<Option<String>>,
pub data: Option<HashMap<String, Value>>,
pub row_count: i32,
pub column_count: i32,
pub sheet_count: i32,
pub is_public: bool,
pub is_read_only: bool,
pub file_size: Option<Option<i32>>,
pub last_accessed_at: Option<Option<DateTime<FixedOffset>>>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
}Expand description
Sheet : A spreadsheet. Sheets belong to exactly one connected account (accountId + provider). The native provider stores sheets in the Spatio database; external providers (Google Sheets, Excel Online, etc.) round-trip through Spatio. data is a free-form bag for provider-specific blobs (cell matrices, formulas, formatting). Clients that walk rows / cells should use the dedicated row + cell endpoints; data is only meaningful when round-tripping with an external provider that embeds its native format here.
Fields§
§id: String§provider: Option<String>Registered provider id (e.g. native-sheets).
account_id: Option<String>Connected-account row this sheet belongs to.
owner_user_id: Option<String>User id of the sheet owner; non-native providers leave empty.
name: String§description: Option<Option<String>>§data: Option<HashMap<String, Value>>Free-form provider blob. Treat as opaque.
row_count: i32§column_count: i32§sheet_count: i32Tab count when the file contains multiple sheets.
is_public: bool§is_read_only: bool§file_size: Option<Option<i32>>§last_accessed_at: Option<Option<DateTime<FixedOffset>>>§created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>Implementations§
Source§impl Sheet
impl Sheet
Sourcepub fn new(
id: String,
name: String,
row_count: i32,
column_count: i32,
sheet_count: i32,
is_public: bool,
is_read_only: bool,
created_at: DateTime<FixedOffset>,
updated_at: DateTime<FixedOffset>,
) -> Sheet
pub fn new( id: String, name: String, row_count: i32, column_count: i32, sheet_count: i32, is_public: bool, is_read_only: bool, created_at: DateTime<FixedOffset>, updated_at: DateTime<FixedOffset>, ) -> Sheet
A spreadsheet. Sheets belong to exactly one connected account (accountId + provider). The native provider stores sheets in the Spatio database; external providers (Google Sheets, Excel Online, etc.) round-trip through Spatio. data is a free-form bag for provider-specific blobs (cell matrices, formulas, formatting). Clients that walk rows / cells should use the dedicated row + cell endpoints; data is only meaningful when round-tripping with an external provider that embeds its native format here.