#[non_exhaustive]pub struct Location {
pub building: Option<String>,
pub floor: Option<String>,
pub rack: Option<String>,
pub country_code: Option<String>,
pub postal_code: Option<String>,
pub latitude: Option<String>,
pub longitude: Option<String>,
pub altitude: Option<String>,
}Expand description
The system location block. The Bellcore coordinates (hcoord, vcoord, lata, npa-nxx) are not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.building: Option<String>§floor: Option<String>§rack: Option<String>§country_code: Option<String>§postal_code: Option<String>§latitude: Option<String>§longitude: Option<String>§altitude: Option<String>Feet above sea level.
Trait Implementations§
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Forget for Location
impl Freeze for Location
impl Move for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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