pub struct OperationMetadata {
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub resource_count: Option<usize>,
pub total_results: Option<usize>,
pub request_id: String,
pub tenant_id: Option<String>,
pub schemas: Option<Vec<String>>,
pub additional: HashMap<String, Value>,
}
Expand description
Metadata about a SCIM operation
Contains contextual information about the operation including version data for ETag-based concurrency control.
Fields§
§resource_type: Option<String>
Resource type involved in the operation
resource_id: Option<String>
Resource ID if applicable
resource_count: Option<usize>
Number of resources returned (for list operations)
total_results: Option<usize>
Total number of resources available (for pagination)
request_id: String
Request ID for tracing
tenant_id: Option<String>
Tenant ID if applicable
schemas: Option<Vec<String>>
Resource schemas involved
additional: HashMap<String, Value>
Additional metadata including version information
Trait Implementations§
Source§impl Clone for OperationMetadata
impl Clone for OperationMetadata
Source§fn clone(&self) -> OperationMetadata
fn clone(&self) -> OperationMetadata
Returns a duplicate 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 OperationMetadata
impl Debug for OperationMetadata
Source§impl PartialEq for OperationMetadata
impl PartialEq for OperationMetadata
impl StructuralPartialEq for OperationMetadata
Auto Trait Implementations§
impl Freeze for OperationMetadata
impl RefUnwindSafe for OperationMetadata
impl Send for OperationMetadata
impl Sync for OperationMetadata
impl Unpin for OperationMetadata
impl UnwindSafe for OperationMetadata
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.