pub struct GenericIdentification3 {
pub id: String,
pub issr: Option<String>,
}Fields§
§id: String§issr: Option<String>Implementations§
Source§impl GenericIdentification3
impl GenericIdentification3
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for GenericIdentification3
impl Clone for GenericIdentification3
Source§fn clone(&self) -> GenericIdentification3
fn clone(&self) -> GenericIdentification3
Returns a duplicate of the value. Read more
1.0.0 · 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 GenericIdentification3
impl Debug for GenericIdentification3
Source§impl Default for GenericIdentification3
impl Default for GenericIdentification3
Source§fn default() -> GenericIdentification3
fn default() -> GenericIdentification3
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GenericIdentification3
impl<'de> Deserialize<'de> for GenericIdentification3
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 GenericIdentification3
impl PartialEq for GenericIdentification3
Source§impl Serialize for GenericIdentification3
impl Serialize for GenericIdentification3
impl StructuralPartialEq for GenericIdentification3
Auto Trait Implementations§
impl Freeze for GenericIdentification3
impl RefUnwindSafe for GenericIdentification3
impl Send for GenericIdentification3
impl Sync for GenericIdentification3
impl Unpin for GenericIdentification3
impl UnwindSafe for GenericIdentification3
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