pub struct RugCheckConfig {
pub base_url: String,
pub rate_limit_per_minute: u32,
pub request_timeout: u64,
}Expand description
Configuration for RugCheck API access
Fields§
§base_url: StringAPI base URL (default: https://api.rugcheck.xyz/v1)
rate_limit_per_minute: u32Rate limit requests per minute (default: 60)
request_timeout: u64Timeout for API requests in seconds (default: 30)
Trait Implementations§
Source§impl Clone for RugCheckConfig
impl Clone for RugCheckConfig
Source§fn clone(&self) -> RugCheckConfig
fn clone(&self) -> RugCheckConfig
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 Debug for RugCheckConfig
impl Debug for RugCheckConfig
Auto Trait Implementations§
impl Freeze for RugCheckConfig
impl RefUnwindSafe for RugCheckConfig
impl Send for RugCheckConfig
impl Sync for RugCheckConfig
impl Unpin for RugCheckConfig
impl UnwindSafe for RugCheckConfig
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