pub struct PassportElementErrorTranslationFiles {
pub type_field: PassportElementErrorTranslationFileType,
pub file_hashes: Vec<String>,
pub message: String,
}
Fields
type_field: PassportElementErrorTranslationFileType
file_hashes: Vec<String>
message: String
Implementations
sourceimpl PassportElementErrorTranslationFiles
impl PassportElementErrorTranslationFiles
sourcepub fn builder() -> PassportElementErrorTranslationFilesBuilder<((), (), ())>
pub fn builder() -> PassportElementErrorTranslationFilesBuilder<((), (), ())>
Create a builder for building PassportElementErrorTranslationFiles
.
On the builder, call .type_field(...)
, .file_hashes(...)
, .message(...)
to set the values of the fields.
Finally, call .build()
to create the instance of PassportElementErrorTranslationFiles
.
Trait Implementations
sourceimpl Clone for PassportElementErrorTranslationFiles
impl Clone for PassportElementErrorTranslationFiles
sourcefn clone(&self) -> PassportElementErrorTranslationFiles
fn clone(&self) -> PassportElementErrorTranslationFiles
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<'de> Deserialize<'de> for PassportElementErrorTranslationFiles
impl<'de> Deserialize<'de> for PassportElementErrorTranslationFiles
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<PassportElementErrorTranslationFiles> for PassportElementErrorTranslationFiles
impl PartialEq<PassportElementErrorTranslationFiles> for PassportElementErrorTranslationFiles
sourcefn eq(&self, other: &PassportElementErrorTranslationFiles) -> bool
fn eq(&self, other: &PassportElementErrorTranslationFiles) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PassportElementErrorTranslationFiles) -> bool
fn ne(&self, other: &PassportElementErrorTranslationFiles) -> bool
This method tests for !=
.
impl StructuralPartialEq for PassportElementErrorTranslationFiles
Auto Trait Implementations
impl RefUnwindSafe for PassportElementErrorTranslationFiles
impl Send for PassportElementErrorTranslationFiles
impl Sync for PassportElementErrorTranslationFiles
impl Unpin for PassportElementErrorTranslationFiles
impl UnwindSafe for PassportElementErrorTranslationFiles
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