Struct spacegate_kernel::functions::http_route::SgBackend
source · pub struct SgBackend {
pub name_or_host: String,
pub namespace: Option<String>,
pub port: u16,
pub timeout_ms: Option<u64>,
pub protocol: Option<SgProtocol>,
pub weight: Option<u16>,
pub filters: Vec<(String, BoxSgPluginFilter)>,
}Fields§
§name_or_host: String§namespace: Option<String>§port: u16§timeout_ms: Option<u64>§protocol: Option<SgProtocol>§weight: Option<u16>§filters: Vec<(String, BoxSgPluginFilter)>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SgBackend
impl Send for SgBackend
impl Sync for SgBackend
impl Unpin for SgBackend
impl !UnwindSafe for SgBackend
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