pub struct SerializedConstructorData {
pub lc: i32,
pub id: Vec<String>,
pub kwargs: HashMap<String, Value>,
pub name: Option<String>,
pub graph: Option<HashMap<String, Value>>,
}Expand description
Data for SerializedConstructor without the type tag.
Fields§
§lc: i32The version of the serialization format.
id: Vec<String>The unique identifier of the object (namespace path).
kwargs: HashMap<String, Value>The constructor arguments.
name: Option<String>The name of the object (optional).
graph: Option<HashMap<String, Value>>The graph of the object (optional).
Trait Implementations§
Source§impl Clone for SerializedConstructorData
impl Clone for SerializedConstructorData
Source§fn clone(&self) -> SerializedConstructorData
fn clone(&self) -> SerializedConstructorData
Returns a duplicate of the value. Read more
1.0.0 · 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 SerializedConstructorData
impl Debug for SerializedConstructorData
Source§impl<'de> Deserialize<'de> for SerializedConstructorData
impl<'de> Deserialize<'de> for SerializedConstructorData
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 SerializedConstructorData
Auto Trait Implementations§
impl Freeze for SerializedConstructorData
impl RefUnwindSafe for SerializedConstructorData
impl Send for SerializedConstructorData
impl Sync for SerializedConstructorData
impl Unpin for SerializedConstructorData
impl UnwindSafe for SerializedConstructorData
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