pub struct DnaInfoV2 {
pub name: String,
pub hash: HoloHash<Dna>,
pub modifiers: DnaModifiers,
pub zome_names: Vec<ZomeName>,
}Expand description
Information about the current DNA.
Fields§
§name: StringThe name of this DNA.
hash: HoloHash<Dna>The hash of this DNA.
modifiers: DnaModifiersThe modifiers for this DNA.
zome_names: Vec<ZomeName>The zomes in this DNA.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DnaInfoV2
impl<'de> Deserialize<'de> for DnaInfoV2
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DnaInfoV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DnaInfoV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DnaInfoV2
impl Serialize for DnaInfoV2
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DnaInfoV2
impl RefUnwindSafe for DnaInfoV2
impl Send for DnaInfoV2
impl Sync for DnaInfoV2
impl Unpin for DnaInfoV2
impl UnsafeUnpin for DnaInfoV2
impl UnwindSafe for DnaInfoV2
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