pub struct OpLogResponse {
pub action: String,
pub message: String,
pub entries: Option<Vec<OpLogEntry>>,
pub undone_entry: Option<OpLogEntry>,
}Fields§
§action: String§message: String§entries: Option<Vec<OpLogEntry>>§undone_entry: Option<OpLogEntry>Trait Implementations§
Source§impl CommandResponse for OpLogResponse
impl CommandResponse for OpLogResponse
Source§fn command_name(&self) -> &'static str
fn command_name(&self) -> &'static str
The command name for the response envelope
Source§fn human_readable(&self) -> String
fn human_readable(&self) -> String
Render as human-readable text
Source§fn to_json_output(&self) -> String
fn to_json_output(&self) -> String
Render as JSON (default implementation via serde). Read more
Source§fn to_json_output_pretty(&self) -> String
fn to_json_output_pretty(&self) -> String
Render as indented, human-readable JSON (opt-in via
--pretty).Source§impl Debug for OpLogResponse
impl Debug for OpLogResponse
Source§impl<'de> Deserialize<'de> for OpLogResponse
impl<'de> Deserialize<'de> for OpLogResponse
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
Auto Trait Implementations§
impl Freeze for OpLogResponse
impl RefUnwindSafe for OpLogResponse
impl Send for OpLogResponse
impl Sync for OpLogResponse
impl Unpin for OpLogResponse
impl UnsafeUnpin for OpLogResponse
impl UnwindSafe for OpLogResponse
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