pub struct ParamBuilder { /* private fields */ }Expand description
Incrementally build up a Param
Implementations§
Source§impl ParamBuilder
impl ParamBuilder
Sourcepub fn controlled_vocabulary(self, cv: ControlledVocabulary) -> Self
pub fn controlled_vocabulary(self, cv: ControlledVocabulary) -> Self
Set the parameter’s controlled vocabulary namespace.
§See also
ParamBuilder::curie, to set the namespace and accession together
Sourcepub fn accession(self, accession: AccessionIntCode) -> Self
pub fn accession(self, accession: AccessionIntCode) -> Self
Set the parameter’s accession code.
§See also
ParamBuilder::curie, to set the namespace and accession together
Trait Implementations§
Source§impl Clone for ParamBuilder
impl Clone for ParamBuilder
Source§fn clone(&self) -> ParamBuilder
fn clone(&self) -> ParamBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParamBuilder
impl Debug for ParamBuilder
Source§impl Default for ParamBuilder
impl Default for ParamBuilder
Source§fn default() -> ParamBuilder
fn default() -> ParamBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParamBuilder
impl RefUnwindSafe for ParamBuilder
impl Send for ParamBuilder
impl Sync for ParamBuilder
impl Unpin for ParamBuilder
impl UnsafeUnpin for ParamBuilder
impl UnwindSafe for ParamBuilder
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