pub struct BytesValueNode {
pub data: String,
pub encoding: BytesEncoding,
}Fields§
§data: String§encoding: BytesEncodingImplementations§
Trait Implementations§
Source§impl Clone for BytesValueNode
impl Clone for BytesValueNode
Source§fn clone(&self) -> BytesValueNode
fn clone(&self) -> BytesValueNode
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 Debug for BytesValueNode
impl Debug for BytesValueNode
Source§impl<'de> Deserialize<'de> for BytesValueNode
impl<'de> Deserialize<'de> for BytesValueNode
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 From<BytesValueNode> for InstructionInputValueNode
impl From<BytesValueNode> for InstructionInputValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for Node
impl From<BytesValueNode> for Node
Source§fn from(val: BytesValueNode) -> Self
fn from(val: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for PdaSeedValueValueNode
impl From<BytesValueNode> for PdaSeedValueValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for RegisteredValueNode
impl From<BytesValueNode> for RegisteredValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl From<BytesValueNode> for ValueNode
impl From<BytesValueNode> for ValueNode
Source§fn from(value: BytesValueNode) -> Self
fn from(value: BytesValueNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for BytesValueNode
impl NodeTrait for BytesValueNode
const KIND: &'static str = "bytesValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for BytesValueNode
impl PartialEq for BytesValueNode
Source§impl Serialize for BytesValueNode
impl Serialize for BytesValueNode
impl StructuralPartialEq for BytesValueNode
Auto Trait Implementations§
impl Freeze for BytesValueNode
impl RefUnwindSafe for BytesValueNode
impl Send for BytesValueNode
impl Sync for BytesValueNode
impl Unpin for BytesValueNode
impl UnwindSafe for BytesValueNode
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