pub struct Response {
pub proposal_instructions: Vec<ProposalInstruction>,
}Expand description
Complete response output for a Cambrian payload
Fields§
§proposal_instructions: Vec<ProposalInstruction>List of instructions to be included in the proposal
Implementations§
Trait Implementations§
Source§impl From<&[Instruction]> for Response
impl From<&[Instruction]> for Response
Source§fn from(value: &[Instruction]) -> Self
fn from(value: &[Instruction]) -> Self
Converts to this type from the input type.
Source§impl From<&Instruction> for Response
impl From<&Instruction> for Response
Source§fn from(value: &Instruction) -> Self
fn from(value: &Instruction) -> Self
Converts to this type from the input type.
Source§impl From<Instruction> for Response
impl From<Instruction> for Response
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 Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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