pub struct AuthOkPayload {
pub space_id: WireUuid,
pub bound_shard_id: u16,
pub permissions: SpacePermissions,
pub namespace: String,
pub server_time_unix_nanos: u64,
}Expand description
AUTH_OK (0x0082) — server acknowledgment.
Fields§
§space_id: WireUuid§bound_shard_id: u16§permissions: SpacePermissions§namespace: StringOwning tenant the connection resolved to (server-derived from auth).
Empty when the connection resolves to the reserved brain system
namespace. The client only surfaces this — it never sends a namespace.
server_time_unix_nanos: u64Trait Implementations§
Source§impl Clone for AuthOkPayload
impl Clone for AuthOkPayload
Source§impl Debug for AuthOkPayload
impl Debug for AuthOkPayload
Source§impl<'de> Deserialize<'de> for AuthOkPayload
impl<'de> Deserialize<'de> for AuthOkPayload
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
impl Eq for AuthOkPayload
Source§impl PartialEq for AuthOkPayload
impl PartialEq for AuthOkPayload
Source§impl Serialize for AuthOkPayload
impl Serialize for AuthOkPayload
impl StructuralPartialEq for AuthOkPayload
Auto Trait Implementations§
impl Freeze for AuthOkPayload
impl RefUnwindSafe for AuthOkPayload
impl Send for AuthOkPayload
impl Sync for AuthOkPayload
impl Unpin for AuthOkPayload
impl UnsafeUnpin for AuthOkPayload
impl UnwindSafe for AuthOkPayload
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