pub struct ActionRequest {
pub action: Option<Action>,
}Expand description
ActionRequest : The request to stop, pause or resume
Fields§
§action: Option<Action>The action of the request, should be stop, pause or resume
Implementations§
Source§impl ActionRequest
impl ActionRequest
Sourcepub fn new() -> ActionRequest
pub fn new() -> ActionRequest
The request to stop, pause or resume
Trait Implementations§
Source§impl Clone for ActionRequest
impl Clone for ActionRequest
Source§fn clone(&self) -> ActionRequest
fn clone(&self) -> ActionRequest
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 ActionRequest
impl Debug for ActionRequest
Source§impl Default for ActionRequest
impl Default for ActionRequest
Source§fn default() -> ActionRequest
fn default() -> ActionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionRequest
impl<'de> Deserialize<'de> for ActionRequest
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 ActionRequest
impl PartialEq for ActionRequest
Source§impl Serialize for ActionRequest
impl Serialize for ActionRequest
impl StructuralPartialEq for ActionRequest
Auto Trait Implementations§
impl Freeze for ActionRequest
impl RefUnwindSafe for ActionRequest
impl Send for ActionRequest
impl Sync for ActionRequest
impl Unpin for ActionRequest
impl UnwindSafe for ActionRequest
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