pub struct LabelBuilder { /* private fields */ }Implementations§
Source§impl LabelBuilder
impl LabelBuilder
pub fn id(self, id: u32) -> Self
pub fn name(self, name: &str) -> Self
pub fn contactinfo(self, contactinfo: &str) -> Self
pub fn profile(self, profile: &str) -> Self
pub fn parent_label(self, id: u32, name: &str) -> Self
pub fn sublabel(self, id: u32, name: &str) -> Self
pub fn url(self, url: &str) -> Self
pub fn data_quality(self, data_quality: &str) -> Self
pub fn image(self, ty: &str, width: i16, height: i16) -> Self
pub fn build(self) -> Label
Auto Trait Implementations§
impl Freeze for LabelBuilder
impl RefUnwindSafe for LabelBuilder
impl Send for LabelBuilder
impl Sync for LabelBuilder
impl Unpin for LabelBuilder
impl UnwindSafe for LabelBuilder
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