pub struct SecureValueErrorData {
pub type: SecureValueType,
pub data_hash: Vec<u8>,
pub field: String,
pub text: String,
}Expand description
Generated from:
secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueErrorFields§
§type: SecureValueType§data_hash: Vec<u8>§field: String§text: StringTrait Implementations§
Source§impl Clone for SecureValueErrorData
impl Clone for SecureValueErrorData
Source§fn clone(&self) -> SecureValueErrorData
fn clone(&self) -> SecureValueErrorData
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 SecureValueErrorData
impl Debug for SecureValueErrorData
Source§impl Deserializable for SecureValueErrorData
impl Deserializable for SecureValueErrorData
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<SecureValueErrorData> for SecureValueError
impl From<SecureValueErrorData> for SecureValueError
Source§fn from(x: SecureValueErrorData) -> Self
fn from(x: SecureValueErrorData) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SecureValueErrorData
impl Identifiable for SecureValueErrorData
Source§const CONSTRUCTOR_ID: u32 = 0xe8a40bd9
const CONSTRUCTOR_ID: u32 = 0xe8a40bd9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SecureValueErrorData
impl PartialEq for SecureValueErrorData
Source§impl Serializable for SecureValueErrorData
impl Serializable for SecureValueErrorData
Source§impl TryFrom<SecureValueError> for SecureValueErrorData
impl TryFrom<SecureValueError> for SecureValueErrorData
Source§type Error = SecureValueError
type Error = SecureValueError
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureValueErrorData
Auto Trait Implementations§
impl Freeze for SecureValueErrorData
impl RefUnwindSafe for SecureValueErrorData
impl Send for SecureValueErrorData
impl Sync for SecureValueErrorData
impl Unpin for SecureValueErrorData
impl UnsafeUnpin for SecureValueErrorData
impl UnwindSafe for SecureValueErrorData
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