pub struct Infrastructure {
pub cpu: Option<String>,
pub memory: Option<String>,
pub storage: Option<String>,
}Fields§
§cpu: Option<String>§memory: Option<String>§storage: Option<String>Implementations§
Source§impl Infrastructure
impl Infrastructure
pub fn new() -> Infrastructure
Trait Implementations§
Source§impl Clone for Infrastructure
impl Clone for Infrastructure
Source§fn clone(&self) -> Infrastructure
fn clone(&self) -> Infrastructure
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 moreSource§impl Debug for Infrastructure
impl Debug for Infrastructure
Source§impl Default for Infrastructure
impl Default for Infrastructure
Source§fn default() -> Infrastructure
fn default() -> Infrastructure
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Infrastructure
impl<'de> Deserialize<'de> for Infrastructure
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 PartialEq for Infrastructure
impl PartialEq for Infrastructure
Source§impl Serialize for Infrastructure
impl Serialize for Infrastructure
impl StructuralPartialEq for Infrastructure
Auto Trait Implementations§
impl Freeze for Infrastructure
impl RefUnwindSafe for Infrastructure
impl Send for Infrastructure
impl Sync for Infrastructure
impl Unpin for Infrastructure
impl UnwindSafe for Infrastructure
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