#[non_exhaustive]pub struct NamespaceEntry {Show 16 fields
pub namespace: String,
pub kind: String,
pub owner_email: String,
pub description: String,
pub tags: Vec<String>,
pub active: bool,
pub consolidation_enabled: bool,
pub daily_cost_cap_usd: f64,
pub daily_user_cost_cap_usd: f64,
pub budget_alert_inbox: String,
pub conflict_threshold: Option<f64>,
pub retention_days: Integer,
pub warm_days: Integer,
pub visibility: NamespaceEntryVisibility,
pub created_at: String,
pub updated_at: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.namespace: String§kind: String§owner_email: String§description: String§active: bool§consolidation_enabled: bool§daily_cost_cap_usd: f64§daily_user_cost_cap_usd: f64§budget_alert_inbox: String§conflict_threshold: Option<f64>§retention_days: Integer§warm_days: Integer§visibility: NamespaceEntryVisibility§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for NamespaceEntry
impl Clone for NamespaceEntry
Source§impl Debug for NamespaceEntry
impl Debug for NamespaceEntry
Source§impl<'de> Deserialize<'de> for NamespaceEntry
impl<'de> Deserialize<'de> for NamespaceEntry
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 PartialEq for NamespaceEntry
impl PartialEq for NamespaceEntry
Source§impl Serialize for NamespaceEntry
impl Serialize for NamespaceEntry
impl StructuralPartialEq for NamespaceEntry
Auto Trait Implementations§
impl Forget for NamespaceEntry
impl Freeze for NamespaceEntry
impl Move for NamespaceEntry
impl RefUnwindSafe for NamespaceEntry
impl Send for NamespaceEntry
impl Sync for NamespaceEntry
impl Unpin for NamespaceEntry
impl UnsafeUnpin for NamespaceEntry
impl UnwindSafe for NamespaceEntry
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