pub struct SettingsReq {
pub config: Option<HashMap<String, Value>>,
pub product: Option<String>,
pub secrets: Option<HashMap<String, String>>,
}Fields§
§config: Option<HashMap<String, Value>>Config is the product’s non-secret configuration, stored verbatim. Bounded at 64 KiB once serialized. Omit it to store an empty object.
product: Option<String>Product is the catalog slug, from the PATH. zip binds the path last, so the URL names the product being written whatever a body field claims.
secrets: Option<HashMap<String, String>>Secrets are the secret fields, by name. Each VALUE is sealed into KMS and never reaches this deployment’s database; a value that is empty or equal to the mask the read path returns means "unchanged" and is skipped, so a console round-trip cannot blank a stored secret. A key must match ^[a-z0-9][a-z0-9._-]{0,62}$, a value is bounded at 8 KiB, and an org may hold at most 64 secret fields per product.
Implementations§
Source§impl SettingsReq
impl SettingsReq
pub fn new() -> SettingsReq
Trait Implementations§
Source§impl Clone for SettingsReq
impl Clone for SettingsReq
Source§fn clone(&self) -> SettingsReq
fn clone(&self) -> SettingsReq
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 SettingsReq
impl Debug for SettingsReq
Source§impl Default for SettingsReq
impl Default for SettingsReq
Source§fn default() -> SettingsReq
fn default() -> SettingsReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsReq
impl<'de> Deserialize<'de> for SettingsReq
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 SettingsReq
impl PartialEq for SettingsReq
Source§impl Serialize for SettingsReq
impl Serialize for SettingsReq
impl StructuralPartialEq for SettingsReq
Auto Trait Implementations§
impl Freeze for SettingsReq
impl RefUnwindSafe for SettingsReq
impl Send for SettingsReq
impl Sync for SettingsReq
impl Unpin for SettingsReq
impl UnsafeUnpin for SettingsReq
impl UnwindSafe for SettingsReq
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