pub struct NetworkProtectEndpointCreate {
pub name: String,
pub ip_address: String,
}Expand description
NetworkProtectEndpointCreate : Attributes accepted when creating an endpoint.
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 NetworkProtectEndpointCreate
impl NetworkProtectEndpointCreate
Sourcepub fn new(name: String, ip_address: String) -> NetworkProtectEndpointCreate
pub fn new(name: String, ip_address: String) -> NetworkProtectEndpointCreate
Attributes accepted when creating an endpoint.
Trait Implementations§
Source§impl Clone for NetworkProtectEndpointCreate
impl Clone for NetworkProtectEndpointCreate
Source§impl Debug for NetworkProtectEndpointCreate
impl Debug for NetworkProtectEndpointCreate
Source§impl<'de> Deserialize<'de> for NetworkProtectEndpointCreate
impl<'de> Deserialize<'de> for NetworkProtectEndpointCreate
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 NetworkProtectEndpointCreate
Auto Trait Implementations§
impl Freeze for NetworkProtectEndpointCreate
impl RefUnwindSafe for NetworkProtectEndpointCreate
impl Send for NetworkProtectEndpointCreate
impl Sync for NetworkProtectEndpointCreate
impl Unpin for NetworkProtectEndpointCreate
impl UnsafeUnpin for NetworkProtectEndpointCreate
impl UnwindSafe for NetworkProtectEndpointCreate
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