pub struct LeaseConfig {
pub addr: String,
pub token_file: PathBuf,
}Expand description
Where and how to take the network rig lease.
Fields§
§addr: Stringhost:port of the rig daemon.
token_file: PathBufFile holding the shared token; relative paths resolve from the rig-config directory.
Trait Implementations§
Source§impl Clone for LeaseConfig
impl Clone for LeaseConfig
Source§fn clone(&self) -> LeaseConfig
fn clone(&self) -> LeaseConfig
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 LeaseConfig
impl Debug for LeaseConfig
Source§impl<'de> Deserialize<'de> for LeaseConfig
impl<'de> Deserialize<'de> for LeaseConfig
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 LeaseConfig
impl RefUnwindSafe for LeaseConfig
impl Send for LeaseConfig
impl Sync for LeaseConfig
impl Unpin for LeaseConfig
impl UnsafeUnpin for LeaseConfig
impl UnwindSafe for LeaseConfig
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