pub struct MobileRelayConfig {
pub relay_url: Option<String>,
pub api_key: Option<String>,
}Expand description
Configuration for the mobile relay (P4).
Stored in ~/.mur/config.yaml under the mobile_relay: key.
Fields§
§relay_url: Option<String>Base URL of the mur-server relay, e.g. “wss://relay.mur.run”. Leave blank to disable relay forwarding on the Mac daemon side.
api_key: Option<String>API key or JWT used by the Mac daemon to authenticate with the relay.
The value is typically a mur_... API key from app.mur.run.
Trait Implementations§
Source§impl Clone for MobileRelayConfig
impl Clone for MobileRelayConfig
Source§fn clone(&self) -> MobileRelayConfig
fn clone(&self) -> MobileRelayConfig
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 MobileRelayConfig
impl Debug for MobileRelayConfig
Source§impl Default for MobileRelayConfig
impl Default for MobileRelayConfig
Source§fn default() -> MobileRelayConfig
fn default() -> MobileRelayConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MobileRelayConfig
impl<'de> Deserialize<'de> for MobileRelayConfig
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 MobileRelayConfig
impl RefUnwindSafe for MobileRelayConfig
impl Send for MobileRelayConfig
impl Sync for MobileRelayConfig
impl Unpin for MobileRelayConfig
impl UnsafeUnpin for MobileRelayConfig
impl UnwindSafe for MobileRelayConfig
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