pub struct FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize {
pub amount: Option<i64>,
pub unit: Option<String>,
}Expand description
FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
JSON schema
{
"type": "object",
"properties": {
"amount": {
"description": "The amount of space allocated to the disk.",
"examples": [
25
],
"type": "integer"
},
"unit": {
"description": "The unit of measure for the disk size.",
"examples": [
"gib"
],
"type": "string"
}
}
}Fields§
§amount: Option<i64>The amount of space allocated to the disk.
unit: Option<String>The unit of measure for the disk size.
Trait Implementations§
Source§impl Clone for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl Clone for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
Source§fn clone(
&self,
) -> FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
fn clone( &self, ) -> FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl<'de> Deserialize<'de> for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
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
Source§impl From<&FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize> for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl From<&FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize> for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
Source§fn from(
value: &FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize,
) -> Self
fn from( value: &FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl RefUnwindSafe for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl Send for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl Sync for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl Unpin for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl UnsafeUnpin for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
impl UnwindSafe for FloatingIPsGetResponseFloatingIpDropletSubtype1DiskInfoItemSize
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