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