#[non_exhaustive]pub struct GetSipRuleOutputBuilder { /* private fields */ }
Expand description
A builder for GetSipRuleOutput
.
Implementations§
source§impl GetSipRuleOutputBuilder
impl GetSipRuleOutputBuilder
sourcepub fn set_sip_rule(self, input: Option<SipRule>) -> Self
pub fn set_sip_rule(self, input: Option<SipRule>) -> Self
The SIP rule details.
sourcepub fn get_sip_rule(&self) -> &Option<SipRule>
pub fn get_sip_rule(&self) -> &Option<SipRule>
The SIP rule details.
sourcepub fn build(self) -> GetSipRuleOutput
pub fn build(self) -> GetSipRuleOutput
Consumes the builder and constructs a GetSipRuleOutput
.
Trait Implementations§
source§impl Clone for GetSipRuleOutputBuilder
impl Clone for GetSipRuleOutputBuilder
source§fn clone(&self) -> GetSipRuleOutputBuilder
fn clone(&self) -> GetSipRuleOutputBuilder
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 GetSipRuleOutputBuilder
impl Debug for GetSipRuleOutputBuilder
source§impl Default for GetSipRuleOutputBuilder
impl Default for GetSipRuleOutputBuilder
source§fn default() -> GetSipRuleOutputBuilder
fn default() -> GetSipRuleOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSipRuleOutputBuilder
impl PartialEq for GetSipRuleOutputBuilder
source§fn eq(&self, other: &GetSipRuleOutputBuilder) -> bool
fn eq(&self, other: &GetSipRuleOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSipRuleOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSipRuleOutputBuilder
impl RefUnwindSafe for GetSipRuleOutputBuilder
impl Send for GetSipRuleOutputBuilder
impl Sync for GetSipRuleOutputBuilder
impl Unpin for GetSipRuleOutputBuilder
impl UnwindSafe for GetSipRuleOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.