pub enum NaAmResponseDto {
Success(NaAmLookupResultDto),
Error(NaAmErrorDto),
}Expand description
Na Am API response with success or error variant
Variants§
Success(NaAmLookupResultDto)
Error(NaAmErrorDto)
Trait Implementations§
Source§impl Clone for NaAmResponseDto
impl Clone for NaAmResponseDto
Source§fn clone(&self) -> NaAmResponseDto
fn clone(&self) -> NaAmResponseDto
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 NaAmResponseDto
impl Debug for NaAmResponseDto
Source§impl<'de> Deserialize<'de> for NaAmResponseDto
impl<'de> Deserialize<'de> for NaAmResponseDto
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
Auto Trait Implementations§
impl Freeze for NaAmResponseDto
impl RefUnwindSafe for NaAmResponseDto
impl Send for NaAmResponseDto
impl Sync for NaAmResponseDto
impl Unpin for NaAmResponseDto
impl UnsafeUnpin for NaAmResponseDto
impl UnwindSafe for NaAmResponseDto
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