pub struct Contacts {
pub account: Option<Contact>,
pub support: Option<Contact>,
pub security: Option<Contact>,
pub unknown: Unknown,
}Expand description
All three contacts at once, keyed by kind.
Not a map, because the kinds are fixed: an answer with a fourth key would be the description having changed rather than a tailnet having more contacts.
Fields§
§account: Option<Contact>§support: Option<Contact>§security: Option<Contact>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contacts
impl<'de> Deserialize<'de> for Contacts
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 Contacts
Auto Trait Implementations§
impl Freeze for Contacts
impl RefUnwindSafe for Contacts
impl Send for Contacts
impl Sync for Contacts
impl Unpin for Contacts
impl UnsafeUnpin for Contacts
impl UnwindSafe for Contacts
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