pub struct PowerSyncCredentials {
pub endpoint: String,
pub token: String,
}Expand description
Credentials used to connect to a PowerSync service instance.
Fields§
§endpoint: StringPowerSync endpoint, e.g. https://myinstance.powersync.co.
token: StringThe token used to authenticate against the PowerSync service.
Auto Trait Implementations§
impl Freeze for PowerSyncCredentials
impl RefUnwindSafe for PowerSyncCredentials
impl Send for PowerSyncCredentials
impl Sync for PowerSyncCredentials
impl Unpin for PowerSyncCredentials
impl UnsafeUnpin for PowerSyncCredentials
impl UnwindSafe for PowerSyncCredentials
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