Struct synapse_admin_api::rooms::list_rooms::v1::Request
source · #[non_exhaustive]pub struct Request {
pub from: Option<UInt>,
pub limit: Option<UInt>,
pub order_by: Option<RoomSortOrder>,
pub dir: Option<SortDirection>,
pub search_term: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.from: Option<UInt>
Offset in the returned list. Defaults to 0.
limit: Option<UInt>
Maximum amount of rooms to return. Defaults to 100.
order_by: Option<RoomSortOrder>
Sort order of the response.
dir: Option<SortDirection>
Sort direction of the response.
search_term: Option<String>
Filter rooms by their room name. Search term can be contained in any part of the room name. Defaults to no filtering.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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