pub struct LockTransports {
pub stdio: bool,
pub unix_socket: Option<String>,
pub tcp: Option<String>,
pub webhook: Option<String>,
}Fields§
§stdio: bool§unix_socket: Option<String>§tcp: Option<String>§webhook: Option<String>C5 / M5.3 — webhook listener URL (e.g. http://127.0.0.1:6789).
Populated by the supervisor when transport.webhook.enabled = true so peers and the commander can discover the live
endpoint without re-reading profile.yaml.
Trait Implementations§
Source§impl Clone for LockTransports
impl Clone for LockTransports
Source§fn clone(&self) -> LockTransports
fn clone(&self) -> LockTransports
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 LockTransports
impl Debug for LockTransports
Source§impl<'de> Deserialize<'de> for LockTransports
impl<'de> Deserialize<'de> for LockTransports
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
Source§impl PartialEq for LockTransports
impl PartialEq for LockTransports
Source§fn eq(&self, other: &LockTransports) -> bool
fn eq(&self, other: &LockTransports) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LockTransports
impl Serialize for LockTransports
impl StructuralPartialEq for LockTransports
Auto Trait Implementations§
impl Freeze for LockTransports
impl RefUnwindSafe for LockTransports
impl Send for LockTransports
impl Sync for LockTransports
impl Unpin for LockTransports
impl UnsafeUnpin for LockTransports
impl UnwindSafe for LockTransports
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