pub struct EvalScope {
pub tenant_id: String,
pub project_id: String,
}Expand description
Tenant/project scope derived from a verified identity. Callers never get to assert their own scope in a request body.
Fields§
§tenant_id: String§project_id: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvalScope
impl<'de> Deserialize<'de> for EvalScope
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
impl Eq for EvalScope
impl StructuralPartialEq for EvalScope
Auto Trait Implementations§
impl Freeze for EvalScope
impl RefUnwindSafe for EvalScope
impl Send for EvalScope
impl Sync for EvalScope
impl Unpin for EvalScope
impl UnsafeUnpin for EvalScope
impl UnwindSafe for EvalScope
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