#[non_exhaustive]pub struct ServerSummaryBuilder { /* private fields */ }Expand description
A builder for ServerSummary.
Implementations§
source§impl ServerSummaryBuilder
impl ServerSummaryBuilder
sourcepub fn server_os_type(self, input: ServerOsType) -> Self
pub fn server_os_type(self, input: ServerOsType) -> Self
Type of operating system for the servers.
sourcepub fn set_server_os_type(self, input: Option<ServerOsType>) -> Self
pub fn set_server_os_type(self, input: Option<ServerOsType>) -> Self
Type of operating system for the servers.
sourcepub fn get_server_os_type(&self) -> &Option<ServerOsType>
pub fn get_server_os_type(&self) -> &Option<ServerOsType>
Type of operating system for the servers.
sourcepub fn build(self) -> ServerSummary
pub fn build(self) -> ServerSummary
Consumes the builder and constructs a ServerSummary.
Trait Implementations§
source§impl Clone for ServerSummaryBuilder
impl Clone for ServerSummaryBuilder
source§fn clone(&self) -> ServerSummaryBuilder
fn clone(&self) -> ServerSummaryBuilder
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 ServerSummaryBuilder
impl Debug for ServerSummaryBuilder
source§impl Default for ServerSummaryBuilder
impl Default for ServerSummaryBuilder
source§fn default() -> ServerSummaryBuilder
fn default() -> ServerSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServerSummaryBuilder
impl PartialEq for ServerSummaryBuilder
source§fn eq(&self, other: &ServerSummaryBuilder) -> bool
fn eq(&self, other: &ServerSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServerSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ServerSummaryBuilder
impl Send for ServerSummaryBuilder
impl Sync for ServerSummaryBuilder
impl Unpin for ServerSummaryBuilder
impl UnwindSafe for ServerSummaryBuilder
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.