Struct webex::types::RoomListParams
source · pub struct RoomListParams<'a> {
pub team_id: Option<&'a str>,
pub room_type: Option<RoomType>,
pub org_public_spaces: Option<bool>,
pub from: Option<&'a str>,
pub to: Option<&'a str>,
pub sort_by: Option<SortRoomsBy>,
pub max: Option<u32>,
}
Expand description
Parameters for listing rooms
Fields§
§team_id: Option<&'a str>
List rooms in a team, by ID.
room_type: Option<RoomType>
List rooms by type. Cannot be set in combination with orgPublicSpaces.
org_public_spaces: Option<bool>
Shows the org’s public spaces joined and unjoined. When set the result list is sorted by the madePublic timestamp.
from: Option<&'a str>
Filters rooms, that were made public after this time. See madePublic timestamp
to: Option<&'a str>
Filters rooms, that were made public before this time. See madePublic timestamp
sort_by: Option<SortRoomsBy>
Sort results. Cannot be set in combination with orgPublicSpaces.
max: Option<u32>
Limit the maximum number of rooms in the response. Default: 100
Trait Implementations§
source§impl<'a> Default for RoomListParams<'a>
impl<'a> Default for RoomListParams<'a>
source§fn default() -> RoomListParams<'a>
fn default() -> RoomListParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RoomListParams<'a>
impl<'a> Send for RoomListParams<'a>
impl<'a> Sync for RoomListParams<'a>
impl<'a> Unpin for RoomListParams<'a>
impl<'a> UnwindSafe for RoomListParams<'a>
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