pub struct RemoteCredentials {
pub worker_jwt: String,
pub expires_in: u64,
pub api_base_url: String,
pub worker_epoch: u64,
}Expand description
Remote credentials returned from /bridge endpoint.
Fields§
§worker_jwt: StringWorker JWT for CCR v2 transport.
expires_in: u64Seconds until JWT expires.
api_base_url: StringBase URL for CCR v2 API.
worker_epoch: u64Worker epoch (incremented on each /bridge call).
Trait Implementations§
Source§impl Clone for RemoteCredentials
impl Clone for RemoteCredentials
Source§fn clone(&self) -> RemoteCredentials
fn clone(&self) -> RemoteCredentials
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 moreSource§impl Debug for RemoteCredentials
impl Debug for RemoteCredentials
Source§impl<'de> Deserialize<'de> for RemoteCredentials
impl<'de> Deserialize<'de> for RemoteCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RemoteCredentials
impl RefUnwindSafe for RemoteCredentials
impl Send for RemoteCredentials
impl Sync for RemoteCredentials
impl Unpin for RemoteCredentials
impl UnsafeUnpin for RemoteCredentials
impl UnwindSafe for RemoteCredentials
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