pub struct CreateLabelResponse {
pub label: Box<Label>,
pub provider: String,
}Fields§
§label: Box<Label>§provider: StringImplementations§
Source§impl CreateLabelResponse
impl CreateLabelResponse
pub fn new(label: Label, provider: String) -> CreateLabelResponse
Trait Implementations§
Source§impl Clone for CreateLabelResponse
impl Clone for CreateLabelResponse
Source§fn clone(&self) -> CreateLabelResponse
fn clone(&self) -> CreateLabelResponse
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 CreateLabelResponse
impl Debug for CreateLabelResponse
Source§impl Default for CreateLabelResponse
impl Default for CreateLabelResponse
Source§fn default() -> CreateLabelResponse
fn default() -> CreateLabelResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateLabelResponse
impl<'de> Deserialize<'de> for CreateLabelResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateLabelResponse
impl PartialEq for CreateLabelResponse
Source§fn eq(&self, other: &CreateLabelResponse) -> bool
fn eq(&self, other: &CreateLabelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateLabelResponse
impl Serialize for CreateLabelResponse
impl StructuralPartialEq for CreateLabelResponse
Auto Trait Implementations§
impl Freeze for CreateLabelResponse
impl RefUnwindSafe for CreateLabelResponse
impl Send for CreateLabelResponse
impl Sync for CreateLabelResponse
impl Unpin for CreateLabelResponse
impl UnsafeUnpin for CreateLabelResponse
impl UnwindSafe for CreateLabelResponse
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