#[non_exhaustive]pub struct Radion {
pub config: RadionConfig,
pub realtime: RealtimeClient,
}Expand description
Unified entry point for the Radion platform SDK.
Holds shared configuration and exposes each product surface as a field.
Today that is realtime; further surfaces attach here
as they ship — the builder shape stays stable so adding them is additive.
Build one with Radion::builder.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.config: RadionConfigShared configuration (API key, base/realtime URLs).
realtime: RealtimeClientAvailable on crate feature
realtime only.Realtime (WebSocket) product surface.
Implementations§
Source§impl Radion
impl Radion
Sourcepub fn builder() -> RadionBuilder
pub fn builder() -> RadionBuilder
Start building a client. Equivalent to RadionBuilder::default.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Radion
impl !RefUnwindSafe for Radion
impl !UnwindSafe for Radion
impl Send for Radion
impl Sync for Radion
impl Unpin for Radion
impl UnsafeUnpin for Radion
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