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