pub struct ProgrammaticScryptoSborValueMap {
pub kind: ProgrammaticScryptoSborValueKind,
pub type_name: Option<Option<String>>,
pub field_name: Option<Option<String>>,
pub key_kind: ProgrammaticScryptoSborValueKind,
pub key_type_name: Option<String>,
pub value_kind: ProgrammaticScryptoSborValueKind,
pub value_type_name: Option<String>,
pub entries: Vec<ProgrammaticScryptoSborValueMapEntry>,
}Fields§
§kind: ProgrammaticScryptoSborValueKind§type_name: Option<Option<String>>The name of the type of this value. This is only output when a schema is present and the type has a name. This property is ignored when the value is used as an input to the API.
field_name: Option<Option<String>>The name of the field which hosts this value. This property is only included if this value is a child of a Tuple or Enum with named fields. This property is ignored when the value is used as an input to the API.
key_kind: ProgrammaticScryptoSborValueKind§key_type_name: Option<String>§value_kind: ProgrammaticScryptoSborValueKind§value_type_name: Option<String>§entries: Vec<ProgrammaticScryptoSborValueMapEntry>Implementations§
Source§impl ProgrammaticScryptoSborValueMap
impl ProgrammaticScryptoSborValueMap
pub fn new( kind: ProgrammaticScryptoSborValueKind, key_kind: ProgrammaticScryptoSborValueKind, value_kind: ProgrammaticScryptoSborValueKind, entries: Vec<ProgrammaticScryptoSborValueMapEntry>, ) -> ProgrammaticScryptoSborValueMap
Trait Implementations§
Source§impl Clone for ProgrammaticScryptoSborValueMap
impl Clone for ProgrammaticScryptoSborValueMap
Source§fn clone(&self) -> ProgrammaticScryptoSborValueMap
fn clone(&self) -> ProgrammaticScryptoSborValueMap
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 Default for ProgrammaticScryptoSborValueMap
impl Default for ProgrammaticScryptoSborValueMap
Source§fn default() -> ProgrammaticScryptoSborValueMap
fn default() -> ProgrammaticScryptoSborValueMap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgrammaticScryptoSborValueMap
impl<'de> Deserialize<'de> for ProgrammaticScryptoSborValueMap
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 ProgrammaticScryptoSborValueMap
impl PartialEq for ProgrammaticScryptoSborValueMap
Source§fn eq(&self, other: &ProgrammaticScryptoSborValueMap) -> bool
fn eq(&self, other: &ProgrammaticScryptoSborValueMap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgrammaticScryptoSborValueMap
Auto Trait Implementations§
impl Freeze for ProgrammaticScryptoSborValueMap
impl RefUnwindSafe for ProgrammaticScryptoSborValueMap
impl Send for ProgrammaticScryptoSborValueMap
impl Sync for ProgrammaticScryptoSborValueMap
impl Unpin for ProgrammaticScryptoSborValueMap
impl UnwindSafe for ProgrammaticScryptoSborValueMap
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