pub struct GetSecretQuery {
pub environment: Option<String>,
pub scope: Option<String>,
pub reveal: bool,
}Expand description
Query for GET /api/v1/secrets/{name} — extends the scope query with a
reveal flag for admin-only plaintext reads.
Fields§
§environment: Option<String>Environment id whose namespace to read from. Mutually exclusive with scope.
scope: Option<String>Explicit scope string (legacy). Mutually exclusive with environment.
reveal: boolWhen true, include the plaintext value. Admin only.
Trait Implementations§
Source§impl Debug for GetSecretQuery
impl Debug for GetSecretQuery
Source§impl Default for GetSecretQuery
impl Default for GetSecretQuery
Source§fn default() -> GetSecretQuery
fn default() -> GetSecretQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSecretQuery
impl<'de> Deserialize<'de> for GetSecretQuery
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
Auto Trait Implementations§
impl Freeze for GetSecretQuery
impl RefUnwindSafe for GetSecretQuery
impl Send for GetSecretQuery
impl Sync for GetSecretQuery
impl Unpin for GetSecretQuery
impl UnsafeUnpin for GetSecretQuery
impl UnwindSafe for GetSecretQuery
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