pub struct ProtectedMcpRouteConfigView {
pub name: String,
pub enabled: bool,
pub public_host: String,
pub public_path: String,
pub upstream: Option<String>,
pub has_backend_url: bool,
pub scopes: Vec<String>,
pub target: Option<ProtectedGatewaySubsetTarget>,
}Fields§
§name: String§enabled: bool§public_host: String§public_path: String§upstream: Option<String>§has_backend_url: bool§scopes: Vec<String>§target: Option<ProtectedGatewaySubsetTarget>Trait Implementations§
Source§impl Clone for ProtectedMcpRouteConfigView
impl Clone for ProtectedMcpRouteConfigView
Source§fn clone(&self) -> ProtectedMcpRouteConfigView
fn clone(&self) -> ProtectedMcpRouteConfigView
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 ProtectedMcpRouteConfigView
impl Debug for ProtectedMcpRouteConfigView
Source§impl<'de> Deserialize<'de> for ProtectedMcpRouteConfigView
impl<'de> Deserialize<'de> for ProtectedMcpRouteConfigView
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 From<&ProtectedMcpRouteConfig> for ProtectedMcpRouteConfigView
impl From<&ProtectedMcpRouteConfig> for ProtectedMcpRouteConfigView
Source§fn from(route: &ProtectedMcpRouteConfig) -> Self
fn from(route: &ProtectedMcpRouteConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProtectedMcpRouteConfigView
impl PartialEq for ProtectedMcpRouteConfigView
Source§fn eq(&self, other: &ProtectedMcpRouteConfigView) -> bool
fn eq(&self, other: &ProtectedMcpRouteConfigView) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProtectedMcpRouteConfigView
impl StructuralPartialEq for ProtectedMcpRouteConfigView
Auto Trait Implementations§
impl Freeze for ProtectedMcpRouteConfigView
impl RefUnwindSafe for ProtectedMcpRouteConfigView
impl Send for ProtectedMcpRouteConfigView
impl Sync for ProtectedMcpRouteConfigView
impl Unpin for ProtectedMcpRouteConfigView
impl UnsafeUnpin for ProtectedMcpRouteConfigView
impl UnwindSafe for ProtectedMcpRouteConfigView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.