pub struct Config {
pub client: Client,
pub minecraft_api_type: ApiType,
pub rate_limit_strategy: RateLimitStrategy,
}Fields
client: Clientminecraft_api_type: ApiTyperate_limit_strategy: RateLimitStrategyTrait Implementations
sourceimpl From<ConfigBuilder> for Config
impl From<ConfigBuilder> for Config
sourcefn from(v: ConfigBuilder) -> Self
fn from(v: ConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more