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§
Source§impl InstructionAccountNode
impl InstructionAccountNode
pub fn new<T, U>( name: T, is_writable: bool, is_signer: U, ) -> InstructionAccountNode
Trait Implementations§
Source§impl Clone for InstructionAccountNode
impl Clone for InstructionAccountNode
Source§fn clone(&self) -> InstructionAccountNode
fn clone(&self) -> InstructionAccountNode
Returns a copy 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<InstructionAccountNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionAccountNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AccountDirective> for InstructionAccountNode
impl From<&AccountDirective> for InstructionAccountNode
Source§fn from(value: &AccountDirective) -> InstructionAccountNode
fn from(value: &AccountDirective) -> InstructionAccountNode
Converts to this type from the input type.
Source§impl From<InstructionAccountNode> for Node
impl From<InstructionAccountNode> for Node
Source§fn from(value: InstructionAccountNode) -> Node
fn from(value: InstructionAccountNode) -> Node
Converts to this type from the input type.
Source§impl NodeTrait for InstructionAccountNode
impl NodeTrait for InstructionAccountNode
Source§impl PartialEq for InstructionAccountNode
impl PartialEq for InstructionAccountNode
Source§impl Serialize for InstructionAccountNode
impl Serialize for InstructionAccountNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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