pub struct AddCountries {
pub value: String,
pub status: Status,
}Fields§
§value: StringСтрана.
status: StatusРезультат добавления страны.
Implementations§
Source§impl AddCountries
impl AddCountries
pub fn new(value: String, status: Status) -> AddCountries
Trait Implementations§
Source§impl Clone for AddCountries
impl Clone for AddCountries
Source§fn clone(&self) -> AddCountries
fn clone(&self) -> AddCountries
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 AddCountries
impl Debug for AddCountries
Source§impl Default for AddCountries
impl Default for AddCountries
Source§fn default() -> AddCountries
fn default() -> AddCountries
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddCountries
impl<'de> Deserialize<'de> for AddCountries
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 AddCountries
impl PartialEq for AddCountries
Source§fn eq(&self, other: &AddCountries) -> bool
fn eq(&self, other: &AddCountries) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddCountries
impl Serialize for AddCountries
impl StructuralPartialEq for AddCountries
Auto Trait Implementations§
impl Freeze for AddCountries
impl RefUnwindSafe for AddCountries
impl Send for AddCountries
impl Sync for AddCountries
impl Unpin for AddCountries
impl UnsafeUnpin for AddCountries
impl UnwindSafe for AddCountries
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