pub struct DucBlockInstance {
pub id: String,
pub block_id: String,
pub version: i32,
pub element_overrides: Option<Vec<StringValueEntry>>,
pub duplication_array: Option<DucBlockDuplicationArray>,
}Fields§
§id: String§block_id: StringThe reference to the DucBlock definition this instance is based on
version: i32The version that should match the block_id’s version, incremented on each change
element_overrides: Option<Vec<StringValueEntry>>§duplication_array: Option<DucBlockDuplicationArray>Trait Implementations§
Source§impl Clone for DucBlockInstance
impl Clone for DucBlockInstance
Source§fn clone(&self) -> DucBlockInstance
fn clone(&self) -> DucBlockInstance
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 DucBlockInstance
impl Debug for DucBlockInstance
Source§impl<'de> Deserialize<'de> for DucBlockInstance
impl<'de> Deserialize<'de> for DucBlockInstance
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 PartialEq for DucBlockInstance
impl PartialEq for DucBlockInstance
Source§impl Serialize for DucBlockInstance
impl Serialize for DucBlockInstance
impl StructuralPartialEq for DucBlockInstance
Auto Trait Implementations§
impl Freeze for DucBlockInstance
impl RefUnwindSafe for DucBlockInstance
impl Send for DucBlockInstance
impl Sync for DucBlockInstance
impl Unpin for DucBlockInstance
impl UnsafeUnpin for DucBlockInstance
impl UnwindSafe for DucBlockInstance
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