pub struct Endpoint {Show 16 fields
pub resource_type: String,
pub id: Option<String>,
pub code: String,
pub name: String,
pub team_id: String,
pub gateway_id: Option<String>,
pub service_id: Option<String>,
pub peer_ref: Option<String>,
pub connection: Option<ConnectionConfig>,
pub authentication: Option<String>,
pub path: Option<String>,
pub methods: Option<Vec<String>>,
pub description: Option<String>,
pub options: Option<Value>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
Endpoint resource
Fields§
§resource_type: String§id: Option<String>§code: String§name: String§team_id: String§gateway_id: Option<String>§service_id: Option<String>§peer_ref: Option<String>Reference to a peer defined in main config (inherits peer’s connection settings)
connection: Option<ConnectionConfig>Connection configuration (overrides peer_ref settings if both specified)
authentication: Option<String>Authentication reference (overrides peer_ref settings if both specified)
path: Option<String>§methods: Option<Vec<String>>§description: Option<String>§options: Option<Value>Service-specific options (highest precedence)
created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
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 Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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