pub struct ViewPresentation {
pub id: PresentationId,
pub object: Option<String>,
pub order: u32,
pub expanded: Option<bool>,
pub visible: Option<bool>,
pub display_mode: Option<String>,
pub selection_style: Option<String>,
pub line_width: Option<f64>,
pub point_size: Option<f64>,
pub properties: BTreeMap<String, String>,
pub native_ref: Option<String>,
}Expand description
Presentation state owned by one persisted view provider.
Fields§
§id: PresentationIdGlobally unique view-provider identity.
object: Option<String>Owning application object identity, if resolved.
order: u32Source order in the provider table.
expanded: Option<bool>Persisted tree expansion state.
visible: Option<bool>Persisted object visibility.
display_mode: Option<String>Display mode name or numeric code.
selection_style: Option<String>Selection rendering mode.
line_width: Option<f64>Line width in persisted display units.
point_size: Option<f64>Point size in persisted display units.
properties: BTreeMap<String, String>Remaining view properties by exact source property name.
native_ref: Option<String>Native view-provider record supplying this state.
Trait Implementations§
Source§impl Clone for ViewPresentation
impl Clone for ViewPresentation
Source§fn clone(&self) -> ViewPresentation
fn clone(&self) -> ViewPresentation
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 ViewPresentation
impl Debug for ViewPresentation
Source§impl<'de> Deserialize<'de> for ViewPresentation
impl<'de> Deserialize<'de> for ViewPresentation
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 ViewPresentation
impl JsonSchema for ViewPresentation
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 ViewPresentation
impl PartialEq for ViewPresentation
Source§impl Serialize for ViewPresentation
impl Serialize for ViewPresentation
impl StructuralPartialEq for ViewPresentation
Auto Trait Implementations§
impl Freeze for ViewPresentation
impl RefUnwindSafe for ViewPresentation
impl Send for ViewPresentation
impl Sync for ViewPresentation
impl Unpin for ViewPresentation
impl UnsafeUnpin for ViewPresentation
impl UnwindSafe for ViewPresentation
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