#[non_exhaustive]pub struct CommandAcceptedResult {
pub command_id: String,
pub status: CommandAckStatus,
}Expand description
The uniform command acknowledgement: admission only, never an outcome.
session/compact alone may answer "noop"; every other command answers
"accepted".
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEcho of the client-minted UUIDv7 commandId.
status: CommandAckStatus"accepted" for every admitted command.
Trait Implementations§
Source§impl Clone for CommandAcceptedResult
impl Clone for CommandAcceptedResult
Source§impl Debug for CommandAcceptedResult
impl Debug for CommandAcceptedResult
Source§impl<'de> Deserialize<'de> for CommandAcceptedResult
impl<'de> Deserialize<'de> for CommandAcceptedResult
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
impl Eq for CommandAcceptedResult
Source§impl PartialEq for CommandAcceptedResult
impl PartialEq for CommandAcceptedResult
Source§impl Serialize for CommandAcceptedResult
impl Serialize for CommandAcceptedResult
impl StructuralPartialEq for CommandAcceptedResult
Auto Trait Implementations§
impl Freeze for CommandAcceptedResult
impl RefUnwindSafe for CommandAcceptedResult
impl Send for CommandAcceptedResult
impl Sync for CommandAcceptedResult
impl Unpin for CommandAcceptedResult
impl UnsafeUnpin for CommandAcceptedResult
impl UnwindSafe for CommandAcceptedResult
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