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