[−][src]Enum sensorlog::quota::StorageQuota
Copyright © 2018 nyantec GmbH oss@nyantec.com Authors: Paul Asmuth asm@nyantec.com
Provided that these terms and disclaimer and all copyright notices are retained or reproduced in an accompanying document, permission is granted to deal in this work without restriction, including un‐ limited rights to use, publicly perform, distribute, sell, modify, merge, give away, or sublicence.
This work is provided “AS IS” and WITHOUT WARRANTY of any kind, to the utmost extent permitted by applicable law, neither express nor implied; without malicious intent or gross negligence. In no event may a licensor, author or contributor be held liable for indirect, direct, other damage, loss, or other issues arising in any way out of dealing in the work, even if advised of the possibility of such damage or existence of a defect, except proven that it results out of said person’s immediate fault when using the work as intended.
Variants
Fields of Limited
limit_bytes: u64
Implementations
impl StorageQuota
[src]
pub fn parse_string(string: &str) -> Result<StorageQuota, Error>
[src]
pub fn is_zero(&self) -> bool
[src]
pub fn is_sufficient_bytes(&self, bytes: u64) -> bool
[src]
Trait Implementations
impl Clone for StorageQuota
[src]
fn clone(&self) -> StorageQuota
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StorageQuota
[src]
impl<'de> Deserialize<'de> for StorageQuota
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for StorageQuota
[src]
Auto Trait Implementations
impl RefUnwindSafe for StorageQuota
impl Send for StorageQuota
impl Sync for StorageQuota
impl Unpin for StorageQuota
impl UnwindSafe for StorageQuota
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,