pub struct SetPropertyReply {
pub error: Result<i32>,
pub userdata: u64,
}
Expand description
Details provided to Event::SetPropertyReply
.
Fields§
§error: Result<i32>
The error setting the property, if any. mpv may also report a success code, which is retained in Ok(i32).
userdata: u64
userdata
value passed to the mpv request which generated this event, if provided.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetPropertyReply
impl RefUnwindSafe for SetPropertyReply
impl Send for SetPropertyReply
impl Sync for SetPropertyReply
impl Unpin for SetPropertyReply
impl UnwindSafe for SetPropertyReply
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