pub struct RegistryVariable {
pub name: String,
pub is_required: bool,
pub description: Option<String>,
pub value: Option<String>,
}Fields§
§name: String§is_required: bool§description: Option<String>§value: Option<String>On a header, the template the publisher documents, with the secret
standing in as a {named} placeholder — Bearer {api_key}. Absent
on most headers, meaning the whole value is supplied by the user.
Trait Implementations§
Source§impl Clone for RegistryVariable
impl Clone for RegistryVariable
Source§fn clone(&self) -> RegistryVariable
fn clone(&self) -> RegistryVariable
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 RegistryVariable
impl Debug for RegistryVariable
Source§impl<'de> Deserialize<'de> for RegistryVariable
impl<'de> Deserialize<'de> for RegistryVariable
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 RegistryVariable
impl RefUnwindSafe for RegistryVariable
impl Send for RegistryVariable
impl Sync for RegistryVariable
impl Unpin for RegistryVariable
impl UnsafeUnpin for RegistryVariable
impl UnwindSafe for RegistryVariable
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