pub struct GatewayServiceMeta {
pub id: String,
pub display_name: String,
pub actions: Vec<GatewayServiceAction>,
pub env: Vec<GatewayEnvVar>,
}Fields§
§id: String§display_name: String§actions: Vec<GatewayServiceAction>§env: Vec<GatewayEnvVar>Implementations§
Source§impl GatewayServiceMeta
impl GatewayServiceMeta
pub fn new(id: impl Into<String>, display_name: impl Into<String>) -> Self
pub fn with_action(self, action: GatewayServiceAction) -> Self
pub fn with_env(self, env: GatewayEnvVar) -> Self
Trait Implementations§
Source§impl Clone for GatewayServiceMeta
impl Clone for GatewayServiceMeta
Source§fn clone(&self) -> GatewayServiceMeta
fn clone(&self) -> GatewayServiceMeta
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 GatewayServiceMeta
impl Debug for GatewayServiceMeta
Source§impl PartialEq for GatewayServiceMeta
impl PartialEq for GatewayServiceMeta
Source§fn eq(&self, other: &GatewayServiceMeta) -> bool
fn eq(&self, other: &GatewayServiceMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GatewayServiceMeta
impl StructuralPartialEq for GatewayServiceMeta
Auto Trait Implementations§
impl Freeze for GatewayServiceMeta
impl RefUnwindSafe for GatewayServiceMeta
impl Send for GatewayServiceMeta
impl Sync for GatewayServiceMeta
impl Unpin for GatewayServiceMeta
impl UnsafeUnpin for GatewayServiceMeta
impl UnwindSafe for GatewayServiceMeta
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.