Struct sozu_command_lib::proto::command::CertificateWithNames
source · pub struct CertificateWithNames {
pub certificate: String,
pub names: Vec<String>,
}
Expand description
A certificate matching a request by fingerprint, and the list of domain names associated
Fields§
§certificate: String
§names: Vec<String>
domain names associated to the fingerprint
Trait Implementations§
source§impl Clone for CertificateWithNames
impl Clone for CertificateWithNames
source§fn clone(&self) -> CertificateWithNames
fn clone(&self) -> CertificateWithNames
Returns a copy 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 CertificateWithNames
impl Debug for CertificateWithNames
source§impl Default for CertificateWithNames
impl Default for CertificateWithNames
source§impl<'de> Deserialize<'de> for CertificateWithNames
impl<'de> Deserialize<'de> for CertificateWithNames
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 Hash for CertificateWithNames
impl Hash for CertificateWithNames
source§impl Message for CertificateWithNames
impl Message for CertificateWithNames
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where B: BufMut, Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where B: Buf, Self: Default,
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where B: Buf, Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl Ord for CertificateWithNames
impl Ord for CertificateWithNames
source§fn cmp(&self, other: &CertificateWithNames) -> Ordering
fn cmp(&self, other: &CertificateWithNames) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CertificateWithNames> for CertificateWithNames
impl PartialEq<CertificateWithNames> for CertificateWithNames
source§fn eq(&self, other: &CertificateWithNames) -> bool
fn eq(&self, other: &CertificateWithNames) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CertificateWithNames> for CertificateWithNames
impl PartialOrd<CertificateWithNames> for CertificateWithNames
source§fn partial_cmp(&self, other: &CertificateWithNames) -> Option<Ordering>
fn partial_cmp(&self, other: &CertificateWithNames) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for CertificateWithNames
impl Serialize for CertificateWithNames
impl Eq for CertificateWithNames
impl StructuralEq for CertificateWithNames
impl StructuralPartialEq for CertificateWithNames
Auto Trait Implementations§
impl RefUnwindSafe for CertificateWithNames
impl Send for CertificateWithNames
impl Sync for CertificateWithNames
impl Unpin for CertificateWithNames
impl UnwindSafe for CertificateWithNames
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.