pub struct LayoutDescriptor {
pub descriptor_version: u32,
pub source_workbook_hash: Option<String>,
pub sheets: Vec<SheetLayout>,
}Expand description
The FULL captured workbook layout (D-05) — the bundle’s layout.json member.
Carries an explicit descriptor_version
(review item 6) and the optional source_workbook_hash provenance anchor (the
SAME canonical content projection the BUNDLE.lock records), plus every
captured sheet.
Fields§
§descriptor_version: u32The schema version (= LAYOUT_DESCRIPTOR_VERSION when emitted).
source_workbook_hash: Option<String>The canonical source-workbook content hash this layout was captured from
(None when not anchored).
sheets: Vec<SheetLayout>Every captured sheet, in workbook order.
Trait Implementations§
Source§impl Clone for LayoutDescriptor
impl Clone for LayoutDescriptor
Source§fn clone(&self) -> LayoutDescriptor
fn clone(&self) -> LayoutDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutDescriptor
impl Debug for LayoutDescriptor
Source§impl<'de> Deserialize<'de> for LayoutDescriptor
impl<'de> Deserialize<'de> for LayoutDescriptor
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 JsonSchema for LayoutDescriptor
impl JsonSchema for LayoutDescriptor
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for LayoutDescriptor
impl PartialEq for LayoutDescriptor
Source§fn eq(&self, other: &LayoutDescriptor) -> bool
fn eq(&self, other: &LayoutDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayoutDescriptor
impl Serialize for LayoutDescriptor
impl StructuralPartialEq for LayoutDescriptor
Auto Trait Implementations§
impl Freeze for LayoutDescriptor
impl RefUnwindSafe for LayoutDescriptor
impl Send for LayoutDescriptor
impl Sync for LayoutDescriptor
impl Unpin for LayoutDescriptor
impl UnsafeUnpin for LayoutDescriptor
impl UnwindSafe for LayoutDescriptor
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