pub struct CliResponse {
pub request_id: String,
pub outcome: CliOutcome,
}Expand description
A response sent from the mediator to the CLI.
Fields§
§request_id: StringThe request ID from the corresponding CliRequest.
outcome: CliOutcomeThe outcome of the command.
Trait Implementations§
Source§impl Clone for CliResponse
impl Clone for CliResponse
Source§fn clone(&self) -> CliResponse
fn clone(&self) -> CliResponse
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 CliResponse
impl Debug for CliResponse
Source§impl<'de> Deserialize<'de> for CliResponse
impl<'de> Deserialize<'de> for CliResponse
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 PartialEq for CliResponse
impl PartialEq for CliResponse
Source§impl Serialize for CliResponse
impl Serialize for CliResponse
impl Eq for CliResponse
impl StructuralPartialEq for CliResponse
Auto Trait Implementations§
impl Freeze for CliResponse
impl RefUnwindSafe for CliResponse
impl Send for CliResponse
impl Sync for CliResponse
impl Unpin for CliResponse
impl UnsafeUnpin for CliResponse
impl UnwindSafe for CliResponse
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