pub struct PolicyEndpoint {
pub zone_id: Option<EntityId>,
pub filter: Option<TrafficFilter>,
}Expand description
Source endpoint with zone and optional traffic filter.
Fields§
§zone_id: Option<EntityId>§filter: Option<TrafficFilter>Trait Implementations§
Source§impl Clone for PolicyEndpoint
impl Clone for PolicyEndpoint
Source§fn clone(&self) -> PolicyEndpoint
fn clone(&self) -> PolicyEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicyEndpoint
impl Debug for PolicyEndpoint
Source§impl<'de> Deserialize<'de> for PolicyEndpoint
impl<'de> Deserialize<'de> for PolicyEndpoint
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
Auto Trait Implementations§
impl Freeze for PolicyEndpoint
impl RefUnwindSafe for PolicyEndpoint
impl Send for PolicyEndpoint
impl Sync for PolicyEndpoint
impl Unpin for PolicyEndpoint
impl UnsafeUnpin for PolicyEndpoint
impl UnwindSafe for PolicyEndpoint
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