pub struct NetworkProtectEndpoint {
pub name: String,
pub ip_address: String,
}Expand description
NetworkProtectEndpoint : Shared Network Protect endpoint attributes.
Fields§
§name: StringA human-readable name, unique within the customer.
ip_address: StringThe GRE destination address, unique within the customer. It cannot be changed after endpoint creation.
Implementations§
Source§impl NetworkProtectEndpoint
impl NetworkProtectEndpoint
Sourcepub fn new(name: String, ip_address: String) -> NetworkProtectEndpoint
pub fn new(name: String, ip_address: String) -> NetworkProtectEndpoint
Shared Network Protect endpoint attributes.
Trait Implementations§
Source§impl Clone for NetworkProtectEndpoint
impl Clone for NetworkProtectEndpoint
Source§impl Debug for NetworkProtectEndpoint
impl Debug for NetworkProtectEndpoint
Source§impl Default for NetworkProtectEndpoint
impl Default for NetworkProtectEndpoint
Source§impl<'de> Deserialize<'de> for NetworkProtectEndpoint
impl<'de> Deserialize<'de> for NetworkProtectEndpoint
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 NetworkProtectEndpoint
impl PartialEq for NetworkProtectEndpoint
Source§impl Serialize for NetworkProtectEndpoint
impl Serialize for NetworkProtectEndpoint
impl StructuralPartialEq for NetworkProtectEndpoint
Auto Trait Implementations§
impl Freeze for NetworkProtectEndpoint
impl RefUnwindSafe for NetworkProtectEndpoint
impl Send for NetworkProtectEndpoint
impl Sync for NetworkProtectEndpoint
impl Unpin for NetworkProtectEndpoint
impl UnsafeUnpin for NetworkProtectEndpoint
impl UnwindSafe for NetworkProtectEndpoint
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