pub struct CreateResponse {
pub room_id: Option<u64>,
pub room_key: Option<u64>,
pub own_member: Option<u32>,
pub cloud_group_id: Option<String>,
pub client_response: Option<Vec<u8>>,
pub user_mappings: Vec<Vec<u8>>,
pub custom_auth: Option<Vec<u8>>,
pub invite_results: Vec<InvitationResult>,
pub verification_url: Option<String>,
pub ui_flags: Option<u32>,
pub original: Vec<u8>,
pub unknown_fields: Vec<Field>,
}Expand description
Raw authenticated creation result. Allocation, invitation outcomes and the nested client response remain separate. This type never invents participants from invitees and deliberately does not implement Debug or serialization.
Fields§
§room_id: Option<u64>§room_key: Option<u64>§own_member: Option<u32>§cloud_group_id: Option<String>§client_response: Option<Vec<u8>>§user_mappings: Vec<Vec<u8>>§custom_auth: Option<Vec<u8>>§invite_results: Vec<InvitationResult>§verification_url: Option<String>§ui_flags: Option<u32>§original: Vec<u8>§unknown_fields: Vec<Field>Implementations§
Source§impl CreateResponse
impl CreateResponse
pub fn decode(raw: &[u8]) -> Result<Self>
Sourcepub fn allocated_room(&self) -> Result<Option<VoiceRoom>>
pub fn allocated_room(&self) -> Result<Option<VoiceRoom>>
Identify a complete allocation without claiming membership or media. Missing/zero room identifiers can belong to a rejection; partial nonzero identity needs review and is never filled from a previous call.
Auto Trait Implementations§
impl Forget for CreateResponse
impl Freeze for CreateResponse
impl RefUnwindSafe for CreateResponse
impl Send for CreateResponse
impl Sync for CreateResponse
impl Unpin for CreateResponse
impl UnsafeUnpin for CreateResponse
impl UnwindSafe for CreateResponse
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