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