pub struct SourceObjectAssociation {
pub format: String,
pub object_id: String,
pub name: Option<String>,
pub color: Option<Color>,
pub visible: Option<bool>,
pub layer: Option<String>,
pub instance_path: Vec<String>,
}Expand description
Native object identity and effective display metadata for a free carrier.
format identifies the source format. object_id is the source format’s
native object identifier, not an IR arena identifier. name, color, and
visible are the effective object display values. layer is the native
layer identifier. instance_path contains native instance identifiers in
outermost-to-innermost order; an empty path means that the object is not
nested in an instance.
Fields§
§format: StringSource format identifier.
object_id: StringNative source object identifier.
name: Option<String>Effective source object name, when present.
color: Option<Color>Effective source object color, when present.
visible: Option<bool>Effective source object visibility, when present.
layer: Option<String>Native source layer identifier, when present.
instance_path: Vec<String>Native instance identifiers from outermost to innermost.
Trait Implementations§
Source§impl Clone for SourceObjectAssociation
impl Clone for SourceObjectAssociation
Source§fn clone(&self) -> SourceObjectAssociation
fn clone(&self) -> SourceObjectAssociation
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 SourceObjectAssociation
impl Debug for SourceObjectAssociation
Source§impl<'de> Deserialize<'de> for SourceObjectAssociation
impl<'de> Deserialize<'de> for SourceObjectAssociation
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 SourceObjectAssociation
impl JsonSchema for SourceObjectAssociation
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 SourceObjectAssociation
impl PartialEq for SourceObjectAssociation
Source§impl Serialize for SourceObjectAssociation
impl Serialize for SourceObjectAssociation
impl StructuralPartialEq for SourceObjectAssociation
Auto Trait Implementations§
impl Freeze for SourceObjectAssociation
impl RefUnwindSafe for SourceObjectAssociation
impl Send for SourceObjectAssociation
impl Sync for SourceObjectAssociation
impl Unpin for SourceObjectAssociation
impl UnsafeUnpin for SourceObjectAssociation
impl UnwindSafe for SourceObjectAssociation
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