Struct hrobot::api::storagebox::StorageBoxReference
source · pub struct StorageBoxReference {
pub id: StorageBoxId,
pub login: String,
pub name: String,
pub product: String,
pub cancelled: bool,
pub locked: bool,
pub location: String,
pub linked_server: Option<ServerId>,
pub paid_until: Date,
}Expand description
Reference to a storagebox.
Does not contain disk, access or reachability information.
Fields§
§id: StorageBoxIdUnique ID for this storagebox.
login: StringLogin/username used for accessing the storagebox.
name: StringHuman-readable name for the storage box.
product: StringProduct name, such as BX06.
cancelled: boolIndicates whether the storagebox has been cancelled.
locked: boolIndicates if the storagebox is locked.
location: StringDatacenter location of the storagebox, e.g. FSN1.
linked_server: Option<ServerId>Server which this storagebox is linked to.
paid_until: DateDate until which this storagebox has been paid for.
Trait Implementations§
source§impl Clone for StorageBoxReference
impl Clone for StorageBoxReference
source§fn clone(&self) -> StorageBoxReference
fn clone(&self) -> StorageBoxReference
Returns a copy 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 moresource§impl Debug for StorageBoxReference
impl Debug for StorageBoxReference
source§impl<'de> Deserialize<'de> for StorageBoxReference
impl<'de> Deserialize<'de> for StorageBoxReference
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
Auto Trait Implementations§
impl Freeze for StorageBoxReference
impl RefUnwindSafe for StorageBoxReference
impl Send for StorageBoxReference
impl Sync for StorageBoxReference
impl Unpin for StorageBoxReference
impl UnwindSafe for StorageBoxReference
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