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);JSON schema
{
"description": "Status of a usage window, as reported by the provider.\n\n# Examples\n\n```\nuse ironflow_store::entities::AccountWindowStatus;\n\nlet status: AccountWindowStatus = \"allowed_warning\".parse().unwrap();\nassert_eq!(status, AccountWindowStatus::AllowedWarning);\n```",
"type": "string",
"enum": [
"allowed",
"allowed_warning",
"rejected"
]
}
```ignore
</details>Variants§
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 Hash for AccountWindowStatus
impl Hash for AccountWindowStatus
Source§impl Ord for AccountWindowStatus
impl Ord for AccountWindowStatus
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AccountWindowStatus
impl PartialEq for AccountWindowStatus
Source§impl PartialOrd for AccountWindowStatus
impl PartialOrd for AccountWindowStatus
Source§impl Serialize for AccountWindowStatus
impl Serialize for AccountWindowStatus
impl StructuralPartialEq for AccountWindowStatus
Source§impl TryFrom<&String> for AccountWindowStatus
impl TryFrom<&String> for AccountWindowStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AccountWindowStatus
impl TryFrom<&str> for AccountWindowStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AccountWindowStatus
impl TryFrom<String> for AccountWindowStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
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