pub struct InstructionAccountNode {
pub name: CamelCaseString,
pub is_writable: bool,
pub is_signer: IsAccountSigner,
pub is_optional: bool,
pub docs: Docs,
pub default_value: Option<InstructionInputValueNode>,
}Fields§
§name: CamelCaseString§is_writable: bool§is_signer: IsAccountSigner§is_optional: bool§docs: Docs§default_value: Option<InstructionInputValueNode>Implementations§
Trait Implementations§
Source§impl Clone for InstructionAccountNode
impl Clone for InstructionAccountNode
Source§fn clone(&self) -> InstructionAccountNode
fn clone(&self) -> InstructionAccountNode
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 InstructionAccountNode
impl Debug for InstructionAccountNode
Source§impl<'de> Deserialize<'de> for InstructionAccountNode
impl<'de> Deserialize<'de> for InstructionAccountNode
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<InstructionAccountNode> for Node
impl From<InstructionAccountNode> for Node
Source§fn from(value: InstructionAccountNode) -> Self
fn from(value: InstructionAccountNode) -> Self
Converts to this type from the input type.
Source§impl HasName for InstructionAccountNode
impl HasName for InstructionAccountNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionAccountNode
impl NodeTrait for InstructionAccountNode
const KIND: &'static str = "instructionAccountNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for InstructionAccountNode
impl PartialEq for InstructionAccountNode
Source§impl Serialize for InstructionAccountNode
impl Serialize for InstructionAccountNode
impl StructuralPartialEq for InstructionAccountNode
Auto Trait Implementations§
impl Freeze for InstructionAccountNode
impl RefUnwindSafe for InstructionAccountNode
impl Send for InstructionAccountNode
impl Sync for InstructionAccountNode
impl Unpin for InstructionAccountNode
impl UnwindSafe for InstructionAccountNode
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