pub struct VipServiceInfo {
pub name: Option<String>,
pub display_name: Option<String>,
pub addrs: Option<Vec<String>>,
pub comment: Option<String>,
pub ports: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub unknown: Unknown,
}Expand description
A service, as the tailnet sees it.
Fields§
§name: Option<String>Unique within the tailnet.
display_name: Option<String>A label for the admin console and for clients with access. At most 64 characters.
addrs: Option<Vec<String>>The IPv4 first, then the IPv6.
comment: Option<String>§ports: Option<Vec<String>>protocol:port pairs, where tcp is the only protocol so far.
do-not-validate skips the check.
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 Clone for VipServiceInfo
impl Clone for VipServiceInfo
Source§impl Debug for VipServiceInfo
impl Debug for VipServiceInfo
Source§impl<'de> Deserialize<'de> for VipServiceInfo
impl<'de> Deserialize<'de> for VipServiceInfo
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 PartialEq for VipServiceInfo
impl PartialEq for VipServiceInfo
Source§impl Serialize for VipServiceInfo
impl Serialize for VipServiceInfo
impl StructuralPartialEq for VipServiceInfo
Auto Trait Implementations§
impl Freeze for VipServiceInfo
impl RefUnwindSafe for VipServiceInfo
impl Send for VipServiceInfo
impl Sync for VipServiceInfo
impl Unpin for VipServiceInfo
impl UnsafeUnpin for VipServiceInfo
impl UnwindSafe for VipServiceInfo
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