pub struct PortsConfig {
pub http: u16,
pub grpc: u16,
pub websocket: u16,
pub metrics: u16,
}Fields§
§http: u16HTTP/REST API port
grpc: u16gRPC API port
websocket: u16WebSocket port
metrics: u16Prometheus metrics port
Trait Implementations§
Source§impl Clone for PortsConfig
impl Clone for PortsConfig
Source§fn clone(&self) -> PortsConfig
fn clone(&self) -> PortsConfig
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 PortsConfig
impl Debug for PortsConfig
Source§impl Default for PortsConfig
impl Default for PortsConfig
Source§impl<'de> Deserialize<'de> for PortsConfigwhere
PortsConfig: Default,
impl<'de> Deserialize<'de> for PortsConfigwhere
PortsConfig: Default,
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 PortsConfig
impl RefUnwindSafe for PortsConfig
impl Send for PortsConfig
impl Sync for PortsConfig
impl Unpin for PortsConfig
impl UnsafeUnpin for PortsConfig
impl UnwindSafe for PortsConfig
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