pub struct RadionConfig {
pub api_key: String,
pub base_url: String,
pub ws_url: String,
}Expand description
Shared configuration for every Radion product surface.
base_url is reserved for forthcoming product surfaces; the realtime client
uses ws_url.
Fields§
§api_key: StringRadion API key, sent as the X-API-Key header on every request.
base_url: StringBase URL for the REST API. Defaults to DEFAULT_BASE_URL.
ws_url: StringRealtime endpoint. Defaults to DEFAULT_WS_URL.
Implementations§
Trait Implementations§
Source§impl Clone for RadionConfig
impl Clone for RadionConfig
Source§fn clone(&self) -> RadionConfig
fn clone(&self) -> RadionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RadionConfig
impl RefUnwindSafe for RadionConfig
impl Send for RadionConfig
impl Sync for RadionConfig
impl Unpin for RadionConfig
impl UnsafeUnpin for RadionConfig
impl UnwindSafe for RadionConfig
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