pub enum AccountWindowStatus {
Allowed,
AllowedWarning,
Rejected,
}Expand description
Status of a usage window, as reported by the provider.
§Examples
use ironflow_store::entities::AccountWindowStatus;
let status: AccountWindowStatus = "allowed_warning".parse().unwrap();
assert_eq!(status, AccountWindowStatus::AllowedWarning);Variants§
Allowed
Requests are allowed.
AllowedWarning
Requests are allowed, close to the limit.
Rejected
Requests are rejected until the window resets.
Trait Implementations§
Source§impl Clone for AccountWindowStatus
impl Clone for AccountWindowStatus
impl Copy for AccountWindowStatus
Source§impl Debug for AccountWindowStatus
impl Debug for AccountWindowStatus
Source§impl<'de> Deserialize<'de> for AccountWindowStatus
impl<'de> Deserialize<'de> for AccountWindowStatus
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
Source§impl Display for AccountWindowStatus
impl Display for AccountWindowStatus
impl Eq for AccountWindowStatus
Source§impl FromStr for AccountWindowStatus
impl FromStr for AccountWindowStatus
Source§impl PartialEq for AccountWindowStatus
impl PartialEq for AccountWindowStatus
Source§impl Serialize for AccountWindowStatus
impl Serialize for AccountWindowStatus
impl StructuralPartialEq for AccountWindowStatus
Auto Trait Implementations§
impl Freeze for AccountWindowStatus
impl RefUnwindSafe for AccountWindowStatus
impl Send for AccountWindowStatus
impl Sync for AccountWindowStatus
impl Unpin for AccountWindowStatus
impl UnsafeUnpin for AccountWindowStatus
impl UnwindSafe for AccountWindowStatus
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