pub struct CADSNode {
pub id: Uuid,
pub system_id: Uuid,
pub cads_asset_id: Option<Uuid>,
pub kind: CADSKind,
pub shared_reference: Option<SharedNodeReference>,
pub custom_metadata: Vec<HashMap<String, Value>>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
CADSNode - Reference to a CADS asset
Can be a local CADS asset or a shared reference from another domain.
Fields§
§id: UuidUnique identifier
system_id: UuidParent system ID
cads_asset_id: Option<Uuid>CADS asset ID (if local)
kind: CADSKindCADS asset kind
Shared reference (if shared from another domain)
custom_metadata: Vec<HashMap<String, Value>>Local metadata overrides (for shared nodes)
created_at: Option<DateTime<Utc>>Creation timestamp
updated_at: Option<DateTime<Utc>>Last update timestamp
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CADSNode
impl<'de> Deserialize<'de> for CADSNode
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
impl StructuralPartialEq for CADSNode
Auto Trait Implementations§
impl Freeze for CADSNode
impl RefUnwindSafe for CADSNode
impl Send for CADSNode
impl Sync for CADSNode
impl Unpin for CADSNode
impl UnwindSafe for CADSNode
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