pub struct Action<T, R> {
pub target: ActionTarget,
/* private fields */
}Expand description
Defines a deserializable Action. It is almost always a member of the
Actions struct in different parts of the Redfish object tree.
T is the type for parameters.
R is the type for the return value.
Fields§
§target: ActionTargetPath that is used to trigger the action.
Implementations§
Trait Implementations§
Source§impl<'de, T, R> Deserialize<'de> for Action<T, R>
impl<'de, T, R> Deserialize<'de> for Action<T, R>
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<T, R> Freeze for Action<T, R>
impl<T, R> RefUnwindSafe for Action<T, R>where
T: RefUnwindSafe,
R: RefUnwindSafe,
impl<T, R> Send for Action<T, R>
impl<T, R> Sync for Action<T, R>
impl<T, R> Unpin for Action<T, R>
impl<T, R> UnsafeUnpin for Action<T, R>
impl<T, R> UnwindSafe for Action<T, R>where
T: UnwindSafe,
R: UnwindSafe,
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