pub struct UserResponse(/* private fields */);Implementations§
Source§impl UserResponse
impl UserResponse
pub const MSG_TYPE: &[u8] = b"BF"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
pub fn user_request_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn username(&self) -> Result<Option<&str>, InvalidValue>
pub fn user_status(&self) -> Result<Option<UserStatus>, InvalidValue>
pub fn user_status_text(&self) -> Result<Option<&str>, InvalidValue>
Auto Trait Implementations§
impl !Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnsafeUnpin for UserResponse
impl UnwindSafe for UserResponse
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