pub struct RegistryHeader {
pub key: Option<String>,
pub value: Option<Vec<String>>,
}Expand description
RegistryHeader configures headers for the registry.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>Key configures the header key.
value: Option<Vec<String>>Value configures the header value.
Trait Implementations§
Source§impl Clone for RegistryHeader
impl Clone for RegistryHeader
Source§fn clone(&self) -> RegistryHeader
fn clone(&self) -> RegistryHeader
Returns a duplicate of the value. Read more
1.0.0 · 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 RegistryHeader
impl Debug for RegistryHeader
Source§impl Default for RegistryHeader
impl Default for RegistryHeader
Source§fn default() -> RegistryHeader
fn default() -> RegistryHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryHeader
impl<'de> Deserialize<'de> for RegistryHeader
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 Serialize for RegistryHeader
impl Serialize for RegistryHeader
impl Part for RegistryHeader
Auto Trait Implementations§
impl Freeze for RegistryHeader
impl RefUnwindSafe for RegistryHeader
impl Send for RegistryHeader
impl Sync for RegistryHeader
impl Unpin for RegistryHeader
impl UnwindSafe for RegistryHeader
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