pub struct ProposalInstruction {
pub program_address: String,
pub accounts: Vec<AccountMeta>,
pub data: Vec<u8>,
}Expand description
Cambrian proposal instruction format
Fields§
§program_address: String§accounts: Vec<AccountMeta>§data: Vec<u8>Trait Implementations§
Source§impl From<&Instruction> for ProposalInstruction
impl From<&Instruction> for ProposalInstruction
Source§fn from(value: &Instruction) -> Self
fn from(value: &Instruction) -> Self
Converts to this type from the input type.
Source§impl From<Instruction> for ProposalInstruction
impl From<Instruction> for ProposalInstruction
Source§fn from(value: Instruction) -> Self
fn from(value: Instruction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProposalInstruction
impl RefUnwindSafe for ProposalInstruction
impl Send for ProposalInstruction
impl Sync for ProposalInstruction
impl Unpin for ProposalInstruction
impl UnwindSafe for ProposalInstruction
Blanket Implementations§
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
Source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more