pub struct RealtimeCredentials {
pub realtime_token: String,
pub realtime_url: String,
pub channel_name: String,
pub supabase_anon_key: String,
}Expand description
Realtime credentials returned by backend
Fields§
§realtime_token: StringJWT token for Supabase Realtime authentication.
realtime_url: StringWebSocket URL for Supabase Realtime.
channel_name: StringChannel name to subscribe to.
supabase_anon_key: StringSupabase anonymous key for Kong auth.
Trait Implementations§
Source§impl Clone for RealtimeCredentials
impl Clone for RealtimeCredentials
Source§fn clone(&self) -> RealtimeCredentials
fn clone(&self) -> RealtimeCredentials
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 moreAuto Trait Implementations§
impl Freeze for RealtimeCredentials
impl RefUnwindSafe for RealtimeCredentials
impl Send for RealtimeCredentials
impl Sync for RealtimeCredentials
impl Unpin for RealtimeCredentials
impl UnsafeUnpin for RealtimeCredentials
impl UnwindSafe for RealtimeCredentials
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