pub struct PluginLoaderOptions {
pub http_client: Option<Client>,
pub api_base_url: Option<String>,
pub raw_base_url: Option<String>,
pub cache_ttl: Option<Duration>,
pub now: Option<Arc<dyn Fn() -> DateTime<Utc> + Send + Sync>>,
}Fields§
§http_client: Option<Client>§api_base_url: Option<String>§raw_base_url: Option<String>§cache_ttl: Option<Duration>§now: Option<Arc<dyn Fn() -> DateTime<Utc> + Send + Sync>>Trait Implementations§
Source§impl Clone for PluginLoaderOptions
impl Clone for PluginLoaderOptions
Source§fn clone(&self) -> PluginLoaderOptions
fn clone(&self) -> PluginLoaderOptions
Returns a duplicate 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 Default for PluginLoaderOptions
impl Default for PluginLoaderOptions
Source§fn default() -> PluginLoaderOptions
fn default() -> PluginLoaderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginLoaderOptions
impl !RefUnwindSafe for PluginLoaderOptions
impl Send for PluginLoaderOptions
impl Sync for PluginLoaderOptions
impl Unpin for PluginLoaderOptions
impl !UnwindSafe for PluginLoaderOptions
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