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