pub struct SearchUsersQuery {
pub exclude_ids: Option<String>,
pub limit: Option<u64>,
pub offset: Option<u64>,
pub org_id: Option<String>,
pub q: Option<String>,
pub scope: Option<String>,
}Expand description
SearchUsersQuery
JSON schema
{
"type": "object",
"properties": {
"exclude_ids": {
"description": "Comma-separated user IDs to exclude",
"type": [
"string",
"null"
]
},
"limit": {
"type": "integer",
"minimum": 0.0
},
"offset": {
"type": "integer",
"minimum": 0.0
},
"org_id": {
"description": "Filter by org subtree (ignored when `scope=all`).",
"type": [
"string",
"null"
]
},
"q": {
"description": "Search text (ILIKE on name and email)",
"type": [
"string",
"null"
]
},
"scope": {
"description": "`all`: search every user in the database (requires `users:list` on the root org). Otherwise org-scoped.",
"type": [
"string",
"null"
]
}
}
}Fields§
§exclude_ids: Option<String>Comma-separated user IDs to exclude
limit: Option<u64>§offset: Option<u64>§org_id: Option<String>Filter by org subtree (ignored when scope=all).
q: Option<String>Search text (ILIKE on name and email)
scope: Option<String>all: search every user in the database (requires users:list on the root org). Otherwise org-scoped.
Trait Implementations§
Source§impl Clone for SearchUsersQuery
impl Clone for SearchUsersQuery
Source§fn clone(&self) -> SearchUsersQuery
fn clone(&self) -> SearchUsersQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchUsersQuery
impl Debug for SearchUsersQuery
Source§impl Default for SearchUsersQuery
impl Default for SearchUsersQuery
Source§impl<'de> Deserialize<'de> for SearchUsersQuery
impl<'de> Deserialize<'de> for SearchUsersQuery
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 Freeze for SearchUsersQuery
impl RefUnwindSafe for SearchUsersQuery
impl Send for SearchUsersQuery
impl Sync for SearchUsersQuery
impl Unpin for SearchUsersQuery
impl UnsafeUnpin for SearchUsersQuery
impl UnwindSafe for SearchUsersQuery
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