Struct wildland_cargo_lib::api::config::CargoConfig
source · pub struct CargoConfig {
pub fsa_config: FoundationStorageApiConfig,
pub logger_config: LoggerConfig,
pub catlib_config: CatlibConfig,
pub multidevice_state: UserConfig,
}
Expand description
Structure representing configuration for super::CargoLib
initialization.
It can be created outside of Rust in the following ways:
- by implementing
CargoCfgProvider
and callingcollect_config
function with that type as an argument - calling
parse_config
Fields§
§fsa_config: FoundationStorageApiConfig
§logger_config: LoggerConfig
§catlib_config: CatlibConfig
§multidevice_state: UserConfig
Implementations§
source§impl CargoConfig
impl CargoConfig
pub fn override_evs_url(&mut self, new_evs_url: String)
Trait Implementations§
source§impl Clone for CargoConfig
impl Clone for CargoConfig
source§fn clone(&self) -> CargoConfig
fn clone(&self) -> CargoConfig
Returns a copy of the value. Read more
1.0.0 · 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 CargoConfig
impl Debug for CargoConfig
source§impl<'de> Deserialize<'de> for CargoConfig
impl<'de> Deserialize<'de> for CargoConfig
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
source§impl PartialEq<CargoConfig> for CargoConfig
impl PartialEq<CargoConfig> for CargoConfig
source§fn eq(&self, other: &CargoConfig) -> bool
fn eq(&self, other: &CargoConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CargoConfig
impl StructuralEq for CargoConfig
impl StructuralPartialEq for CargoConfig
Auto Trait Implementations§
impl RefUnwindSafe for CargoConfig
impl Send for CargoConfig
impl Sync for CargoConfig
impl Unpin for CargoConfig
impl UnwindSafe for CargoConfig
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.