pub struct CreateAccessSessionResponse {
pub session_id: String,
pub local_addr: String,
pub endpoint: String,
pub expires_at: u64,
}Expand description
Response after creating a temporary access session.
Fields§
§session_id: StringUnique session identifier (UUID).
local_addr: StringLocal address the daemon bound for this session, e.g. 127.0.0.1:30042.
endpoint: StringOriginal endpoint requested.
expires_at: u64Unix timestamp at which the session expires.
Trait Implementations§
Source§impl ComposeSchema for CreateAccessSessionResponse
impl ComposeSchema for CreateAccessSessionResponse
Source§impl Debug for CreateAccessSessionResponse
impl Debug for CreateAccessSessionResponse
Source§impl<'de> Deserialize<'de> for CreateAccessSessionResponse
impl<'de> Deserialize<'de> for CreateAccessSessionResponse
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 CreateAccessSessionResponse
impl RefUnwindSafe for CreateAccessSessionResponse
impl Send for CreateAccessSessionResponse
impl Sync for CreateAccessSessionResponse
impl Unpin for CreateAccessSessionResponse
impl UnsafeUnpin for CreateAccessSessionResponse
impl UnwindSafe for CreateAccessSessionResponse
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