pub struct ProgrammaticScryptoSborValueArray {
pub kind: ProgrammaticScryptoSborValueKind,
pub type_name: Option<Option<String>>,
pub field_name: Option<Option<String>>,
pub element_kind: ProgrammaticScryptoSborValueKind,
pub element_type_name: Option<String>,
pub elements: Vec<ProgrammaticScryptoSborValue>,
}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.
element_kind: ProgrammaticScryptoSborValueKind§element_type_name: Option<String>§elements: Vec<ProgrammaticScryptoSborValue>Implementations§
Source§impl ProgrammaticScryptoSborValueArray
impl ProgrammaticScryptoSborValueArray
pub fn new( kind: ProgrammaticScryptoSborValueKind, element_kind: ProgrammaticScryptoSborValueKind, elements: Vec<ProgrammaticScryptoSborValue>, ) -> ProgrammaticScryptoSborValueArray
Trait Implementations§
Source§impl Clone for ProgrammaticScryptoSborValueArray
impl Clone for ProgrammaticScryptoSborValueArray
Source§fn clone(&self) -> ProgrammaticScryptoSborValueArray
fn clone(&self) -> ProgrammaticScryptoSborValueArray
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 ProgrammaticScryptoSborValueArray
impl Default for ProgrammaticScryptoSborValueArray
Source§fn default() -> ProgrammaticScryptoSborValueArray
fn default() -> ProgrammaticScryptoSborValueArray
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgrammaticScryptoSborValueArray
impl<'de> Deserialize<'de> for ProgrammaticScryptoSborValueArray
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 ProgrammaticScryptoSborValueArray
impl PartialEq for ProgrammaticScryptoSborValueArray
Source§fn eq(&self, other: &ProgrammaticScryptoSborValueArray) -> bool
fn eq(&self, other: &ProgrammaticScryptoSborValueArray) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgrammaticScryptoSborValueArray
Auto Trait Implementations§
impl Freeze for ProgrammaticScryptoSborValueArray
impl RefUnwindSafe for ProgrammaticScryptoSborValueArray
impl Send for ProgrammaticScryptoSborValueArray
impl Sync for ProgrammaticScryptoSborValueArray
impl Unpin for ProgrammaticScryptoSborValueArray
impl UnwindSafe for ProgrammaticScryptoSborValueArray
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