pub struct PatchedWritableTunnelTerminationRequest {
pub tunnel: Option<Box<PatchedWritableTunnelTerminationRequestTunnel>>,
pub role: Option<Role>,
pub termination_type: Option<String>,
pub termination_id: Option<Option<i64>>,
pub outside_ip: Option<Option<Box<DeviceWithConfigContextRequestPrimaryIp4>>>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableTunnelTerminationRequest : Adds support for custom fields and tags.
Fields§
§tunnel: Option<Box<PatchedWritableTunnelTerminationRequestTunnel>>§role: Option<Role>peer- Peer *hub- Hub *spoke- Spoke
termination_type: Option<String>§termination_id: Option<Option<i64>>§outside_ip: Option<Option<Box<DeviceWithConfigContextRequestPrimaryIp4>>>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableTunnelTerminationRequest
impl PatchedWritableTunnelTerminationRequest
Sourcepub fn new() -> PatchedWritableTunnelTerminationRequest
pub fn new() -> PatchedWritableTunnelTerminationRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableTunnelTerminationRequest
impl Clone for PatchedWritableTunnelTerminationRequest
Source§fn clone(&self) -> PatchedWritableTunnelTerminationRequest
fn clone(&self) -> PatchedWritableTunnelTerminationRequest
Returns a duplicate 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 Default for PatchedWritableTunnelTerminationRequest
impl Default for PatchedWritableTunnelTerminationRequest
Source§fn default() -> PatchedWritableTunnelTerminationRequest
fn default() -> PatchedWritableTunnelTerminationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableTunnelTerminationRequest
impl<'de> Deserialize<'de> for PatchedWritableTunnelTerminationRequest
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 PatchedWritableTunnelTerminationRequest
impl PartialEq for PatchedWritableTunnelTerminationRequest
Source§fn eq(&self, other: &PatchedWritableTunnelTerminationRequest) -> bool
fn eq(&self, other: &PatchedWritableTunnelTerminationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableTunnelTerminationRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableTunnelTerminationRequest
impl RefUnwindSafe for PatchedWritableTunnelTerminationRequest
impl Send for PatchedWritableTunnelTerminationRequest
impl Sync for PatchedWritableTunnelTerminationRequest
impl Unpin for PatchedWritableTunnelTerminationRequest
impl UnwindSafe for PatchedWritableTunnelTerminationRequest
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