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