pub struct BotView {Show 16 fields
pub agent: Option<String>,
pub binding: Option<Box<AgentBinding>>,
pub created_time: Option<String>,
pub gpu: Option<String>,
pub id: Option<String>,
pub image: Option<String>,
pub mem: Option<String>,
pub name: Option<String>,
pub os: Option<String>,
pub private_ip: Option<String>,
pub provider: Option<String>,
pub public_ip: Option<String>,
pub region: Option<String>,
pub status: Option<String>,
pub type: Option<String>,
pub vcpu: Option<i32>,
}Fields§
§agent: Option<String>Agent is the cloud Agent this machine runs, lifted out of the binding so a list of bots reads without following one. Empty means the machine is a bot machine with nothing bound — it costs money and answers nothing.
binding: Option<Box<AgentBinding>>Binding is the record joining this machine to that agent, carrying vm’s own reconciled status and its reason. Absent means no runtime is bound, which is also what a stopped bot looks like: stopping unbinds and leaves the machine running.
created_time: Option<String>§gpu: Option<String>§id: Option<String>§image: Option<String>§mem: Option<String>§name: Option<String>§os: Option<String>§private_ip: Option<String>§provider: Option<String>§public_ip: Option<String>§region: Option<String>§status: Option<String>§type: Option<String>§vcpu: Option<i32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotView
impl<'de> Deserialize<'de> for BotView
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
impl StructuralPartialEq for BotView
Auto Trait Implementations§
impl Freeze for BotView
impl RefUnwindSafe for BotView
impl Send for BotView
impl Sync for BotView
impl Unpin for BotView
impl UnsafeUnpin for BotView
impl UnwindSafe for BotView
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