Struct ngrok_api::types::EndpointRule
source · pub struct EndpointRule {
pub expressions: Vec<String>,
pub actions: Vec<EndpointAction>,
pub name: String,
}
Fields§
§expressions: Vec<String>
cel expressions that filter traffic the policy rule applies to.
actions: Vec<EndpointAction>
the set of actions on a policy rule.
name: String
the name of the rule that is part of the traffic policy.
Trait Implementations§
source§impl Clone for EndpointRule
impl Clone for EndpointRule
source§fn clone(&self) -> EndpointRule
fn clone(&self) -> EndpointRule
Returns a copy 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 Debug for EndpointRule
impl Debug for EndpointRule
source§impl Default for EndpointRule
impl Default for EndpointRule
source§fn default() -> EndpointRule
fn default() -> EndpointRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointRule
impl<'de> Deserialize<'de> for EndpointRule
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 EndpointRule
impl RefUnwindSafe for EndpointRule
impl Send for EndpointRule
impl Sync for EndpointRule
impl Unpin for EndpointRule
impl UnwindSafe for EndpointRule
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