pub struct Backend {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 target_ref: Option<String>,
pub connection: Option<ConnectionConfig>,
pub authentication: Option<String>,
pub url: Option<String>,
pub timeout_seconds: Option<u32>,
pub max_retries: Option<u32>,
pub options: Option<Value>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
Backend resource
Fields§
§resource_type: String§id: Option<String>§code: String§name: String§team_id: String§gateway_id: Option<String>§service_id: Option<String>§target_ref: Option<String>Reference to a target defined in main config (inherits target’s connection settings)
connection: Option<ConnectionConfig>Connection configuration (overrides target_ref settings if both specified)
authentication: Option<String>Authentication reference (overrides target_ref settings if both specified)
url: Option<String>§timeout_seconds: Option<u32>§max_retries: Option<u32>Maximum retry attempts (overrides target_ref.max_retries)
options: Option<Value>Service-specific options (highest precedence)
created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Backend
impl<'de> Deserialize<'de> for Backend
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 Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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