#[repr(C)]pub struct FelicaAuthenticationStatus {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Expand description
In Felica there two types of auth. Internal is the first one, after which external became possible. Here are two flags representing which one was passed
Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl FelicaAuthenticationStatus
impl FelicaAuthenticationStatus
pub fn internal(&self) -> bool
pub fn set_internal(&mut self, val: bool)
pub unsafe fn internal_raw(this: *const Self) -> bool
pub unsafe fn set_internal_raw(this: *mut Self, val: bool)
pub fn external(&self) -> bool
pub fn set_external(&mut self, val: bool)
pub unsafe fn external_raw(this: *const Self) -> bool
pub unsafe fn set_external_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( internal: bool, external: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for FelicaAuthenticationStatus
impl Clone for FelicaAuthenticationStatus
Source§fn clone(&self) -> FelicaAuthenticationStatus
fn clone(&self) -> FelicaAuthenticationStatus
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 FelicaAuthenticationStatus
impl Debug for FelicaAuthenticationStatus
impl Copy for FelicaAuthenticationStatus
Auto Trait Implementations§
impl Freeze for FelicaAuthenticationStatus
impl RefUnwindSafe for FelicaAuthenticationStatus
impl Send for FelicaAuthenticationStatus
impl Sync for FelicaAuthenticationStatus
impl Unpin for FelicaAuthenticationStatus
impl UnwindSafe for FelicaAuthenticationStatus
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