pub struct IndexdConfig {
pub url: String,
pub bucket: String,
}Expand description
Connection details for the user’s indexd gateway (Sia archival).
Fields§
§url: StringBase URL of the indexd HTTP API.
bucket: StringSia bucket / namespace logs are archived under.
Trait Implementations§
Source§impl Clone for IndexdConfig
impl Clone for IndexdConfig
Source§impl Debug for IndexdConfig
impl Debug for IndexdConfig
Source§impl<'de> Deserialize<'de> for IndexdConfig
impl<'de> Deserialize<'de> for IndexdConfig
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 IndexdConfig
impl RefUnwindSafe for IndexdConfig
impl Send for IndexdConfig
impl Sync for IndexdConfig
impl Unpin for IndexdConfig
impl UnsafeUnpin for IndexdConfig
impl UnwindSafe for IndexdConfig
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