Struct aws_sdk_migrationhubstrategy::types::builders::OsInfoBuilder
source · #[non_exhaustive]pub struct OsInfoBuilder { /* private fields */ }Expand description
A builder for OsInfo.
Implementations§
source§impl OsInfoBuilder
impl OsInfoBuilder
sourcepub fn set_type(self, input: Option<OsType>) -> Self
pub fn set_type(self, input: Option<OsType>) -> Self
Information about the type of operating system.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
Information about the version of operating system.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Information about the version of operating system.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Information about the version of operating system.
Trait Implementations§
source§impl Clone for OsInfoBuilder
impl Clone for OsInfoBuilder
source§fn clone(&self) -> OsInfoBuilder
fn clone(&self) -> OsInfoBuilder
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 OsInfoBuilder
impl Debug for OsInfoBuilder
source§impl Default for OsInfoBuilder
impl Default for OsInfoBuilder
source§fn default() -> OsInfoBuilder
fn default() -> OsInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OsInfoBuilder
impl PartialEq for OsInfoBuilder
source§fn eq(&self, other: &OsInfoBuilder) -> bool
fn eq(&self, other: &OsInfoBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OsInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OsInfoBuilder
impl Send for OsInfoBuilder
impl Sync for OsInfoBuilder
impl Unpin for OsInfoBuilder
impl UnwindSafe for OsInfoBuilder
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.