pub struct BaseUrls {
pub api: String,
pub auth: String,
pub realtime: String,
}Expand description
Base URL configuration for API endpoints.
Allows customization of the API endpoints for testing or private deployments.
Use BaseUrls::default() for production Wikimedia Enterprise endpoints.
Fields§
§api: StringBase URL for API requests (metadata, snapshots, ondemand)
Default: https://api.enterprise.wikimedia.com
auth: StringURL for authentication
Default: https://auth.enterprise.wikimedia.com
realtime: StringBase URL for realtime streaming API
Default: https://realtime.enterprise.wikimedia.com
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseUrls
impl RefUnwindSafe for BaseUrls
impl Send for BaseUrls
impl Sync for BaseUrls
impl Unpin for BaseUrls
impl UnsafeUnpin for BaseUrls
impl UnwindSafe for BaseUrls
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