Struct hrobot::api::storagebox::StorageBox
source · pub struct StorageBox {Show 14 fields
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,
pub server: String,
pub host_system: String,
pub disk: Disk,
pub snapshot_directory: bool,
pub accessibility: Accessibility,
}Expand description
Storage Box
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.
server: StringServername through which the storagebox can be accessed.
host_system: StringName of the host system for the storagebox.
disk: DiskDisk usage and quota.
snapshot_directory: boolIf enabled, a snapshots directory is mounted at from which data can be copied.
See more at: https://docs.hetzner.com/robot/storage-box/snapshots/
accessibility: AccessibilityAccessibility.
Trait Implementations§
source§impl Clone for StorageBox
impl Clone for StorageBox
source§fn clone(&self) -> StorageBox
fn clone(&self) -> StorageBox
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 StorageBox
impl Debug for StorageBox
source§impl<'de> Deserialize<'de> for StorageBox
impl<'de> Deserialize<'de> for StorageBox
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 StorageBox
impl RefUnwindSafe for StorageBox
impl Send for StorageBox
impl Sync for StorageBox
impl Unpin for StorageBox
impl UnwindSafe for StorageBox
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