pub struct CommandApiCall {
pub cmd: Parameter<String>,
/* private fields */
}Fields§
§cmd: Parameter<String>Implementations§
Trait Implementations§
Source§impl Check for CommandApiCall
impl Check for CommandApiCall
Source§fn check_host_compatibility(
&self,
_host_properties: &HostProperties,
) -> Result<(), RegentError>
fn check_host_compatibility( &self, _host_properties: &HostProperties, ) -> Result<(), RegentError>
If host properties are known, checks whether this attribute is compatible with the host or not. Read more
Source§impl Clone for CommandApiCall
impl Clone for CommandApiCall
Source§fn clone(&self) -> CommandApiCall
fn clone(&self) -> CommandApiCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandApiCall
impl Debug for CommandApiCall
Source§impl<'de> Deserialize<'de> for CommandApiCall
impl<'de> Deserialize<'de> for CommandApiCall
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 CommandApiCall
impl PartialEq for CommandApiCall
Source§impl<Handler: HostHandler> ReachCompliance<Handler> for CommandApiCall
impl<Handler: HostHandler> ReachCompliance<Handler> for CommandApiCall
Source§async fn call(
&self,
host_handler: &mut Handler,
host_properties: &Option<HostProperties>,
optional_secret_provider: &Option<SecretProvidersPool>,
) -> Result<InternalApiCallOutcome, RegentError>
async fn call( &self, host_handler: &mut Handler, host_properties: &Option<HostProperties>, optional_secret_provider: &Option<SecretProvidersPool>, ) -> Result<InternalApiCallOutcome, RegentError>
Perform remediation on the host. Read more
Source§impl Serialize for CommandApiCall
impl Serialize for CommandApiCall
impl StructuralPartialEq for CommandApiCall
Auto Trait Implementations§
impl Freeze for CommandApiCall
impl RefUnwindSafe for CommandApiCall
impl Send for CommandApiCall
impl Sync for CommandApiCall
impl Unpin for CommandApiCall
impl UnsafeUnpin for CommandApiCall
impl UnwindSafe for CommandApiCall
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