pub struct BindAgentReq {
pub agent_name: Option<String>,
pub bot_version: Option<String>,
pub id: Option<String>,
}Fields§
§agent_name: Option<String>AgentName is the cloud Agent (/v1/agents) the machine will run. Required.
bot_version: Option<String>BotVersion pins the @hanzo/bot runtime version; empty takes the default.
id: Option<String>ID is the machine to bind, from the URL path.
Implementations§
Source§impl BindAgentReq
impl BindAgentReq
pub fn new() -> BindAgentReq
Trait Implementations§
Source§impl Clone for BindAgentReq
impl Clone for BindAgentReq
Source§fn clone(&self) -> BindAgentReq
fn clone(&self) -> BindAgentReq
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 BindAgentReq
impl Debug for BindAgentReq
Source§impl Default for BindAgentReq
impl Default for BindAgentReq
Source§fn default() -> BindAgentReq
fn default() -> BindAgentReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BindAgentReq
impl<'de> Deserialize<'de> for BindAgentReq
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 BindAgentReq
impl PartialEq for BindAgentReq
Source§impl Serialize for BindAgentReq
impl Serialize for BindAgentReq
impl StructuralPartialEq for BindAgentReq
Auto Trait Implementations§
impl Freeze for BindAgentReq
impl RefUnwindSafe for BindAgentReq
impl Send for BindAgentReq
impl Sync for BindAgentReq
impl Unpin for BindAgentReq
impl UnsafeUnpin for BindAgentReq
impl UnwindSafe for BindAgentReq
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