pub struct RatePer {
pub bytes: u64,
pub period: Period,
}Expand description
Parsed <n><unit>/<period> value from authorized_keys.
Fields§
§bytes: u64§period: PeriodImplementations§
Trait Implementations§
impl Copy for RatePer
impl Eq for RatePer
impl StructuralPartialEq for RatePer
Auto Trait Implementations§
impl Forget for RatePer
impl Freeze for RatePer
impl Move for RatePer
impl RefUnwindSafe for RatePer
impl Send for RatePer
impl Sync for RatePer
impl Unpin for RatePer
impl UnsafeUnpin for RatePer
impl UnwindSafe for RatePer
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.