pub struct AgentInsertBody {
pub name: String,
pub ip: Option<String>,
pub id: Option<String>,
pub key: Option<String>,
pub force: Option<AgentForceOptions>,
}Fields§
§name: String§ip: Option<String>§id: Option<String>§key: Option<String>§force: Option<AgentForceOptions>Trait Implementations§
Source§impl Clone for AgentInsertBody
impl Clone for AgentInsertBody
Source§fn clone(&self) -> AgentInsertBody
fn clone(&self) -> AgentInsertBody
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 AgentInsertBody
impl Debug for AgentInsertBody
Source§impl<'de> Deserialize<'de> for AgentInsertBody
impl<'de> Deserialize<'de> for AgentInsertBody
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 Freeze for AgentInsertBody
impl RefUnwindSafe for AgentInsertBody
impl Send for AgentInsertBody
impl Sync for AgentInsertBody
impl Unpin for AgentInsertBody
impl UnwindSafe for AgentInsertBody
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