pub struct DataCenter {
pub id: String,
pub city: String,
pub available_services: Vec<AvailableService>,
pub standard_bare_metal_bandwidth: Option<String>,
pub ping: Option<Ipv4Addr>,
pub test_download: Option<String>,
pub url: Option<String>,
}Fields§
§id: String§city: String§available_services: Vec<AvailableService>§standard_bare_metal_bandwidth: Option<String>§ping: Option<Ipv4Addr>§test_download: Option<String>§url: Option<String>Trait Implementations§
Source§impl Clone for DataCenter
impl Clone for DataCenter
Source§fn clone(&self) -> DataCenter
fn clone(&self) -> DataCenter
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 DataCenter
impl RefUnwindSafe for DataCenter
impl Send for DataCenter
impl Sync for DataCenter
impl Unpin for DataCenter
impl UnwindSafe for DataCenter
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