Struct livekit_api::access_token::VideoGrants
source · pub struct VideoGrants {Show 14 fields
pub room_create: bool,
pub room_list: bool,
pub room_record: bool,
pub room_admin: bool,
pub room_join: bool,
pub room: String,
pub can_publish: bool,
pub can_subscribe: bool,
pub can_publish_data: bool,
pub can_publish_sources: Vec<String>,
pub can_update_own_metadata: bool,
pub ingress_admin: bool,
pub hidden: bool,
pub recorder: bool,
}
Fields§
§room_create: bool
§room_list: bool
§room_record: bool
§room_admin: bool
§room_join: bool
§room: String
§can_publish: bool
§can_subscribe: bool
§can_publish_data: bool
§can_publish_sources: Vec<String>
§can_update_own_metadata: bool
§ingress_admin: bool
§recorder: bool
Trait Implementations§
source§impl Clone for VideoGrants
impl Clone for VideoGrants
source§fn clone(&self) -> VideoGrants
fn clone(&self) -> VideoGrants
Returns a copy 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 VideoGrants
impl Debug for VideoGrants
source§impl Default for VideoGrants
impl Default for VideoGrants
source§impl<'de> Deserialize<'de> for VideoGrants
impl<'de> Deserialize<'de> for VideoGrants
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 RefUnwindSafe for VideoGrants
impl Send for VideoGrants
impl Sync for VideoGrants
impl Unpin for VideoGrants
impl UnwindSafe for VideoGrants
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