pub enum ValidForCurrentIpOnly {
Value0 = 0,
Value1 = 1,
}
Expand description
[Optional] If you set this parameter during token creation, then the token created will only work for the IP address that was used to create the token
Variants§
Trait Implementations§
Source§impl Clone for ValidForCurrentIpOnly
impl Clone for ValidForCurrentIpOnly
Source§fn clone(&self) -> ValidForCurrentIpOnly
fn clone(&self) -> ValidForCurrentIpOnly
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 ValidForCurrentIpOnly
impl Debug for ValidForCurrentIpOnly
Source§impl<'de> Deserialize<'de> for ValidForCurrentIpOnly
impl<'de> Deserialize<'de> for ValidForCurrentIpOnly
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValidForCurrentIpOnly
impl RefUnwindSafe for ValidForCurrentIpOnly
impl Send for ValidForCurrentIpOnly
impl Sync for ValidForCurrentIpOnly
impl Unpin for ValidForCurrentIpOnly
impl UnwindSafe for ValidForCurrentIpOnly
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