pub struct Draft {
pub name: String,
pub value: Option<String>,
pub description: Option<String>,
pub sites: Option<Vec<String>>,
pub hosts: Option<Vec<String>>,
}Expand description
A secret to add, or what to replace in the one by that name.
Fields§
§name: String§value: Option<String>At most 8 KB. Required for a new secret; left out, a replace keeps the value.
description: Option<String>§sites: Option<Vec<String>>§hosts: Option<Vec<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draft
impl<'de> Deserialize<'de> for Draft
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
impl StructuralPartialEq for Draft
Auto Trait Implementations§
impl Forget for Draft
impl Freeze for Draft
impl Move for Draft
impl RefUnwindSafe for Draft
impl Send for Draftwhere
RawVecInner: Send,
impl Sync for Draftwhere
RawVecInner: Sync,
impl Unpin for Draft
impl UnsafeUnpin for Draftwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Draftwhere
RawVecInner: UnwindSafe,
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