pub enum Response {
Accept,
Reject,
Cancel,
}
Expand description
Native representation of a Response
Returned by an agent in response to a proposal for some Record
. This reponse is then recorded
in the Proposal
.
Variants
Accept
Reject
Cancel
Trait Implementations
sourceimpl FromNative<Response> for AnswerProposalAction_Response
impl FromNative<Response> for AnswerProposalAction_Response
fn from_native(responses: Response) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<AnswerProposalAction_Response> for Response
impl FromProto<AnswerProposalAction_Response> for Response
fn from_proto(
responses: AnswerProposalAction_Response
) -> Result<Self, ProtoConversionError>
sourceimpl IntoNative<Response> for AnswerProposalAction_Response
impl IntoNative<Response> for AnswerProposalAction_Response
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<AnswerProposalAction_Response> for Response
impl IntoProto<AnswerProposalAction_Response> for Response
fn into_proto(self) -> Result<T, ProtoConversionError>
impl StructuralPartialEq for Response
Auto Trait Implementations
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more