#[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 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<SecondaryValueOptionsBuilder> for SecondaryValueOptionsBuilder
impl PartialEq<SecondaryValueOptionsBuilder> 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 ==.