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§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 Forget for RegistryVariable
impl Freeze for RegistryVariable
impl Move for RegistryVariable
impl RefUnwindSafe for RegistryVariable
impl Send for RegistryVariablewhere
RawVecInner: Send,
impl Sync for RegistryVariablewhere
RawVecInner: Sync,
impl Unpin for RegistryVariable
impl UnsafeUnpin for RegistryVariable
impl UnwindSafe for RegistryVariablewhere
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