pub struct SettingsView {
pub config: Option<Option<Value>>,
pub created_at: Option<String>,
pub product: Option<String>,
pub secret_keys: Option<Vec<String>>,
pub updated_at: Option<String>,
}Fields§
§config: Option<Option<Value>>§created_at: Option<String>CreatedAt is when this configuration was first written, RFC 3339 UTC.
product: Option<String>Product is the catalog slug this configuration belongs to.
secret_keys: Option<Vec<String>>SecretKeys names the secret fields that ARE set. Their VALUES live only in KMS and are never returned here — the console renders a mask.
updated_at: Option<String>UpdatedAt is when this configuration was last written, RFC 3339 UTC. Empty when nothing has been saved.
Implementations§
Source§impl SettingsView
impl SettingsView
pub fn new() -> SettingsView
Trait Implementations§
Source§impl Clone for SettingsView
impl Clone for SettingsView
Source§fn clone(&self) -> SettingsView
fn clone(&self) -> SettingsView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingsView
impl Debug for SettingsView
Source§impl Default for SettingsView
impl Default for SettingsView
Source§fn default() -> SettingsView
fn default() -> SettingsView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsView
impl<'de> Deserialize<'de> for SettingsView
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 SettingsView
impl PartialEq for SettingsView
Source§impl Serialize for SettingsView
impl Serialize for SettingsView
impl StructuralPartialEq for SettingsView
Auto Trait Implementations§
impl Freeze for SettingsView
impl RefUnwindSafe for SettingsView
impl Send for SettingsView
impl Sync for SettingsView
impl Unpin for SettingsView
impl UnsafeUnpin for SettingsView
impl UnwindSafe for SettingsView
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