Struct ngrok_api::types::EndpointAction
source · pub struct EndpointAction {
pub type: String,
pub config: HashMap<String, Value>,
}
Fields§
§type: String
the type of action on the policy rule.
config: HashMap<String, Value>
the configuration for the action on the policy rule.
Trait Implementations§
source§impl Clone for EndpointAction
impl Clone for EndpointAction
source§fn clone(&self) -> EndpointAction
fn clone(&self) -> EndpointAction
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 EndpointAction
impl Debug for EndpointAction
source§impl Default for EndpointAction
impl Default for EndpointAction
source§fn default() -> EndpointAction
fn default() -> EndpointAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointAction
impl<'de> Deserialize<'de> for EndpointAction
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 EndpointAction
impl RefUnwindSafe for EndpointAction
impl Send for EndpointAction
impl Sync for EndpointAction
impl Unpin for EndpointAction
impl UnwindSafe for EndpointAction
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