pub struct NewMailLabel {
pub name: String,
pub color: Option<MailLabelColor>,
}Expand description
The body of a request to create a mail label.
Fields§
§name: StringName of the label.
color: Option<MailLabelColor>Color of the label.
Trait Implementations§
Source§impl Clone for NewMailLabel
impl Clone for NewMailLabel
Source§impl Debug for NewMailLabel
impl Debug for NewMailLabel
Auto Trait Implementations§
impl Freeze for NewMailLabel
impl RefUnwindSafe for NewMailLabel
impl Send for NewMailLabel
impl Sync for NewMailLabel
impl Unpin for NewMailLabel
impl UnsafeUnpin for NewMailLabel
impl UnwindSafe for NewMailLabel
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