Enum hotfix_encoding::fix44::UserRequestType
source · pub enum UserRequestType {
Logonuser,
Logoffuser,
Changepasswordforuser,
RequestIndividualUserStatus,
}
Expand description
Field type variants for UserRequestType
.
Variants§
Logonuser
Field variant ‘1’.
Logoffuser
Field variant ‘2’.
Changepasswordforuser
Field variant ‘3’.
RequestIndividualUserStatus
Field variant ‘4’.
Trait Implementations§
source§impl Clone for UserRequestType
impl Clone for UserRequestType
source§fn clone(&self) -> UserRequestType
fn clone(&self) -> UserRequestType
Returns a copy 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 UserRequestType
impl Debug for UserRequestType
source§impl<'a> FieldType<'a> for UserRequestType
impl<'a> FieldType<'a> for UserRequestType
§type SerializeSettings = ()
type SerializeSettings = ()
A type with values that customize the serialization algorithm, e.g.
padding information.
source§fn serialize_with<B>(
&self,
buffer: &mut B,
_settings: Self::SerializeSettings
) -> usizewhere
B: Buffer,
fn serialize_with<B>( &self, buffer: &mut B, _settings: Self::SerializeSettings ) -> usizewhere B: Buffer,
Writes
self
to buffer
using custom serialization settings
.source§fn deserialize(data: &'a [u8]) -> Result<Self, <Self as FieldType<'a>>::Error>
fn deserialize(data: &'a [u8]) -> Result<Self, <Self as FieldType<'a>>::Error>
Parses and deserializes from
data
.source§fn serialize<B>(&self, buffer: &mut B) -> usizewhere
B: Buffer,
fn serialize<B>(&self, buffer: &mut B) -> usizewhere B: Buffer,
Writes
self
to buffer
using default settings.source§fn deserialize_lossy(data: &'a [u8]) -> Result<Self, Self::Error>
fn deserialize_lossy(data: &'a [u8]) -> Result<Self, Self::Error>
Like
FieldType::deserialize
, but it’s allowed to skip some amount of
input checking. Invalid inputs might not trigger errors and instead be
deserialized as random values. Read moresource§impl Hash for UserRequestType
impl Hash for UserRequestType
source§impl PartialEq for UserRequestType
impl PartialEq for UserRequestType
source§fn eq(&self, other: &UserRequestType) -> bool
fn eq(&self, other: &UserRequestType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserRequestType
impl Eq for UserRequestType
impl StructuralEq for UserRequestType
impl StructuralPartialEq for UserRequestType
Auto Trait Implementations§
impl RefUnwindSafe for UserRequestType
impl Send for UserRequestType
impl Sync for UserRequestType
impl Unpin for UserRequestType
impl UnwindSafe for UserRequestType
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