Struct aws_sdk_migrationhubstrategy::types::SystemInfo
source · #[non_exhaustive]pub struct SystemInfo {
pub os_info: Option<OsInfo>,
pub file_system_type: Option<String>,
pub network_info_list: Option<Vec<NetworkInfo>>,
pub cpu_architecture: Option<String>,
}Expand description
Information about the server that hosts application components.
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.os_info: Option<OsInfo>Operating system corresponding to a server.
file_system_type: Option<String>File system type for the server.
network_info_list: Option<Vec<NetworkInfo>>Networking information related to a server.
cpu_architecture: Option<String>CPU architecture type for the server.
Implementations§
source§impl SystemInfo
impl SystemInfo
sourcepub fn file_system_type(&self) -> Option<&str>
pub fn file_system_type(&self) -> Option<&str>
File system type for the server.
sourcepub fn network_info_list(&self) -> &[NetworkInfo]
pub fn network_info_list(&self) -> &[NetworkInfo]
Networking information related to a server.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_info_list.is_none().
sourcepub fn cpu_architecture(&self) -> Option<&str>
pub fn cpu_architecture(&self) -> Option<&str>
CPU architecture type for the server.
source§impl SystemInfo
impl SystemInfo
sourcepub fn builder() -> SystemInfoBuilder
pub fn builder() -> SystemInfoBuilder
Creates a new builder-style object to manufacture SystemInfo.
Trait Implementations§
source§impl Clone for SystemInfo
impl Clone for SystemInfo
source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
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 SystemInfo
impl Debug for SystemInfo
source§impl PartialEq for SystemInfo
impl PartialEq for SystemInfo
source§fn eq(&self, other: &SystemInfo) -> bool
fn eq(&self, other: &SystemInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SystemInfo
Auto Trait Implementations§
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.