pub struct SharedInfo {
pub store: String,
pub trust_dir: String,
pub trusted_keys: Vec<String>,
pub timeout_ms: u64,
pub remote: Option<RemoteInfo>,
}Expand description
The shared tier’s configuration, as INFO reports it.
Fields§
§store: StringThe shared store’s directory.
trust_dir: StringThe directory of trusted public keys.
trusted_keys: Vec<String>Ids of the keys trusted now.
timeout_ms: u64How long one lookup may take, in milliseconds.
remote: Option<RemoteInfo>Optional HTTP transport state; absent for directory stores and older daemons.
Trait Implementations§
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§
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