pub struct SecureValueErrorTranslationFile {
pub type: SecureValueType,
pub file_hash: Vec<u8>,
pub text: String,
}Expand description
secureValueErrorTranslationFile
Generated from:
secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueErrorFields§
§type: SecureValueType§file_hash: Vec<u8>§text: StringTrait Implementations§
Source§impl Clone for SecureValueErrorTranslationFile
impl Clone for SecureValueErrorTranslationFile
Source§fn clone(&self) -> SecureValueErrorTranslationFile
fn clone(&self) -> SecureValueErrorTranslationFile
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 Deserializable for SecureValueErrorTranslationFile
impl Deserializable for SecureValueErrorTranslationFile
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SecureValueErrorTranslationFile> for SecureValueError
impl From<SecureValueErrorTranslationFile> for SecureValueError
Source§fn from(x: SecureValueErrorTranslationFile) -> Self
fn from(x: SecureValueErrorTranslationFile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SecureValueErrorTranslationFile
impl Identifiable for SecureValueErrorTranslationFile
Source§const CONSTRUCTOR_ID: u32 = 0xa1144770
const CONSTRUCTOR_ID: u32 = 0xa1144770
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SecureValueErrorTranslationFile
impl PartialEq for SecureValueErrorTranslationFile
Source§fn eq(&self, other: &SecureValueErrorTranslationFile) -> bool
fn eq(&self, other: &SecureValueErrorTranslationFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<SecureValueError> for SecureValueErrorTranslationFile
impl TryFrom<SecureValueError> for SecureValueErrorTranslationFile
Source§type Error = SecureValueError
type Error = SecureValueError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureValueErrorTranslationFile
Auto Trait Implementations§
impl Freeze for SecureValueErrorTranslationFile
impl RefUnwindSafe for SecureValueErrorTranslationFile
impl Send for SecureValueErrorTranslationFile
impl Sync for SecureValueErrorTranslationFile
impl Unpin for SecureValueErrorTranslationFile
impl UnsafeUnpin for SecureValueErrorTranslationFile
impl UnwindSafe for SecureValueErrorTranslationFile
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