pub struct ScimQuery {
pub count: Option<usize>,
pub start_index: Option<usize>,
pub filter: Option<String>,
pub attributes: Option<Vec<String>>,
pub excluded_attributes: Option<Vec<String>>,
pub search_attribute: Option<String>,
pub search_value: Option<Value>,
}
Expand description
Query parameters for list and search operations
Fields§
§count: Option<usize>
Maximum number of results to return
start_index: Option<usize>
Starting index for pagination
filter: Option<String>
Filter expression for search
attributes: Option<Vec<String>>
Attributes to include in results
excluded_attributes: Option<Vec<String>>
Attributes to exclude from results
search_attribute: Option<String>
Specific attribute to search on
search_value: Option<Value>
Value to search for
Implementations§
Source§impl ScimQuery
impl ScimQuery
Sourcepub fn with_pagination(self, start_index: usize, count: usize) -> Self
pub fn with_pagination(self, start_index: usize, count: usize) -> Self
Set pagination parameters.
Sourcepub fn with_filter(self, filter: impl Into<String>) -> Self
pub fn with_filter(self, filter: impl Into<String>) -> Self
Set filter expression.
Sourcepub fn with_search(self, attribute: impl Into<String>, value: Value) -> Self
pub fn with_search(self, attribute: impl Into<String>, value: Value) -> Self
Set search parameters.
Sourcepub fn with_attributes(self, attributes: Vec<String>) -> Self
pub fn with_attributes(self, attributes: Vec<String>) -> Self
Set attributes to include.
Sourcepub fn with_excluded_attributes(self, excluded_attributes: Vec<String>) -> Self
pub fn with_excluded_attributes(self, excluded_attributes: Vec<String>) -> Self
Set attributes to exclude.
Trait Implementations§
impl StructuralPartialEq for ScimQuery
Auto Trait Implementations§
impl Freeze for ScimQuery
impl RefUnwindSafe for ScimQuery
impl Send for ScimQuery
impl Sync for ScimQuery
impl Unpin for ScimQuery
impl UnwindSafe for ScimQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TenantValidator for T
impl<T> TenantValidator for T
Source§fn validate_tenant_context(
&self,
expected_tenant_id: &str,
context: &RequestContext,
) -> Result<(), String>
fn validate_tenant_context( &self, expected_tenant_id: &str, context: &RequestContext, ) -> Result<(), String>
Validate that the context has the expected tenant.
Source§fn validate_single_tenant_context(
&self,
context: &RequestContext,
) -> Result<(), String>
fn validate_single_tenant_context( &self, context: &RequestContext, ) -> Result<(), String>
Validate that the context is for single-tenant operation.
Source§fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
fn require_tenant_context(&self, context: &RequestContext) -> Result<(), String>
Extract tenant context or return error for multi-tenant operations.