pub struct IpfsConfig {
pub uri: Option<Redacted<String>>,
pub read_uri: Option<Redacted<String>>,
}Expand description
IPFS configuration used by app-data read helpers.
Fields§
§uri: Option<Redacted<String>>Legacy shared base URI used when read_uri is absent.
read_uri: Option<Redacted<String>>Base URI used for IPFS read requests.
Trait Implementations§
Source§impl Clone for IpfsConfig
impl Clone for IpfsConfig
Source§fn clone(&self) -> IpfsConfig
fn clone(&self) -> IpfsConfig
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 IpfsConfig
impl Debug for IpfsConfig
Source§impl Default for IpfsConfig
impl Default for IpfsConfig
Source§fn default() -> IpfsConfig
fn default() -> IpfsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpfsConfig
impl<'de> Deserialize<'de> for IpfsConfig
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
impl Eq for IpfsConfig
Source§impl PartialEq for IpfsConfig
impl PartialEq for IpfsConfig
Source§fn eq(&self, other: &IpfsConfig) -> bool
fn eq(&self, other: &IpfsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IpfsConfig
impl Serialize for IpfsConfig
impl StructuralPartialEq for IpfsConfig
Auto Trait Implementations§
impl Freeze for IpfsConfig
impl RefUnwindSafe for IpfsConfig
impl Send for IpfsConfig
impl Sync for IpfsConfig
impl Unpin for IpfsConfig
impl UnsafeUnpin for IpfsConfig
impl UnwindSafe for IpfsConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.