pub struct SetResponseOverrideBitsBuilder { /* private fields */ }Expand description
Builder for SetResponseOverrideBits.
Implementations§
Source§impl SetResponseOverrideBitsBuilder
impl SetResponseOverrideBitsBuilder
pub fn authenticator_id<VALUE: Into<AuthenticatorId>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn is_bogus_signature<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn is_bogus_signature<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
If isBogusSignature is set, overrides the signature in the authenticator response to be zero. Defaults to false.
Sourcepub fn is_bad_uv<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn is_bad_uv<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If isBadUV is set, overrides the UV bit in the flags in the authenticator response to be zero. Defaults to false.
Sourcepub fn is_bad_up<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn is_bad_up<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If isBadUP is set, overrides the UP bit in the flags in the authenticator response to be zero. Defaults to false.
Sourcepub fn build(
&self,
) -> Result<SetResponseOverrideBits, SetResponseOverrideBitsBuilderError>
pub fn build( &self, ) -> Result<SetResponseOverrideBits, SetResponseOverrideBitsBuilderError>
Trait Implementations§
Source§impl Clone for SetResponseOverrideBitsBuilder
impl Clone for SetResponseOverrideBitsBuilder
Source§fn clone(&self) -> SetResponseOverrideBitsBuilder
fn clone(&self) -> SetResponseOverrideBitsBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetResponseOverrideBitsBuilder
impl RefUnwindSafe for SetResponseOverrideBitsBuilder
impl Send for SetResponseOverrideBitsBuilder
impl Sync for SetResponseOverrideBitsBuilder
impl Unpin for SetResponseOverrideBitsBuilder
impl UnsafeUnpin for SetResponseOverrideBitsBuilder
impl UnwindSafe for SetResponseOverrideBitsBuilder
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