pub struct ProviderHost {
pub server_id: String,
pub name: String,
pub ip: String,
pub tags: Vec<String>,
}Expand description
A host discovered from a cloud provider API.
Fields§
§server_id: StringProvider-assigned server ID.
name: StringServer name/label.
ip: StringPublic IPv4 address.
Provider tags/labels.
Trait Implementations§
Source§impl Clone for ProviderHost
impl Clone for ProviderHost
Source§fn clone(&self) -> ProviderHost
fn clone(&self) -> ProviderHost
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 moreAuto Trait Implementations§
impl Freeze for ProviderHost
impl RefUnwindSafe for ProviderHost
impl Send for ProviderHost
impl Sync for ProviderHost
impl Unpin for ProviderHost
impl UnsafeUnpin for ProviderHost
impl UnwindSafe for ProviderHost
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