Struct frankenstein::objects::PassportElementErrorFile
source · [−]pub struct PassportElementErrorFile {
pub type_field: PassportElementErrorFileType,
pub file_hash: String,
pub message: String,
}
Fields
type_field: PassportElementErrorFileType
file_hash: String
message: String
Implementations
sourceimpl PassportElementErrorFile
impl PassportElementErrorFile
sourcepub fn builder() -> PassportElementErrorFileBuilder<((), (), ())>
pub fn builder() -> PassportElementErrorFileBuilder<((), (), ())>
Create a builder for building PassportElementErrorFile
.
On the builder, call .type_field(...)
, .file_hash(...)
, .message(...)
to set the values of the fields.
Finally, call .build()
to create the instance of PassportElementErrorFile
.
Trait Implementations
sourceimpl Clone for PassportElementErrorFile
impl Clone for PassportElementErrorFile
sourcefn clone(&self) -> PassportElementErrorFile
fn clone(&self) -> PassportElementErrorFile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PassportElementErrorFile
impl Debug for PassportElementErrorFile
sourceimpl<'de> Deserialize<'de> for PassportElementErrorFile
impl<'de> Deserialize<'de> for PassportElementErrorFile
sourcefn 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
sourceimpl PartialEq<PassportElementErrorFile> for PassportElementErrorFile
impl PartialEq<PassportElementErrorFile> for PassportElementErrorFile
sourcefn eq(&self, other: &PassportElementErrorFile) -> bool
fn eq(&self, other: &PassportElementErrorFile) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PassportElementErrorFile) -> bool
fn ne(&self, other: &PassportElementErrorFile) -> bool
This method tests for !=
.
sourceimpl Serialize for PassportElementErrorFile
impl Serialize for PassportElementErrorFile
impl StructuralPartialEq for PassportElementErrorFile
Auto Trait Implementations
impl RefUnwindSafe for PassportElementErrorFile
impl Send for PassportElementErrorFile
impl Sync for PassportElementErrorFile
impl Unpin for PassportElementErrorFile
impl UnwindSafe for PassportElementErrorFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more