pub struct CommandReply {
pub result: Result<Node>,
pub userdata: u64,
}
Expand description
Details provided to Event::CommandReply
.
Fields§
§result: Result<Node>
Result of a command (which may be Node::None
even on success depending on the command), or an error if one occurred.
userdata: u64
userdata
value passed to the mpv request which generated this event, if provided.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandReply
impl RefUnwindSafe for CommandReply
impl Send for CommandReply
impl Sync for CommandReply
impl Unpin for CommandReply
impl UnwindSafe for CommandReply
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