pub struct TagBuilder { /* private fields */ }
Implementations
sourceimpl TagBuilder
impl TagBuilder
sourcepub fn new() -> TagBuilder
pub fn new() -> TagBuilder
Constructs a new TagBuilder
.
sourceimpl TagBuilder
impl TagBuilder
sourcepub fn description<S: Into<String>>(self, description: Option<S>) -> Self
pub fn description<S: Into<String>>(self, description: Option<S>) -> Self
Add additional description for the tag.
sourcepub fn external_docs(self, external_docs: Option<ExternalDocs>) -> Self
pub fn external_docs(self, external_docs: Option<ExternalDocs>) -> Self
Add additional external documentation for the tag.
Trait Implementations
sourceimpl Default for TagBuilder
impl Default for TagBuilder
sourceimpl From<Tag> for TagBuilder
impl From<Tag> for TagBuilder
sourceimpl From<TagBuilder> for Tag
impl From<TagBuilder> for Tag
sourcefn from(value: TagBuilder) -> Self
fn from(value: TagBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for TagBuilder
impl Send for TagBuilder
impl Sync for TagBuilder
impl Unpin for TagBuilder
impl UnwindSafe for TagBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more