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