pub struct WorkOsFgaRequest {
pub permission_slug: String,
pub resource_type_slug: String,
pub resource_external_id: String,
}Expand description
JSON body sent to the WorkOS authorization check endpoint.
Fields§
§permission_slug: StringPermission slug to check.
resource_type_slug: StringResource type slug.
resource_external_id: StringExternal resource id.
Trait Implementations§
Source§impl Clone for WorkOsFgaRequest
impl Clone for WorkOsFgaRequest
Source§fn clone(&self) -> WorkOsFgaRequest
fn clone(&self) -> WorkOsFgaRequest
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 WorkOsFgaRequest
impl Debug for WorkOsFgaRequest
Auto Trait Implementations§
impl Freeze for WorkOsFgaRequest
impl RefUnwindSafe for WorkOsFgaRequest
impl Send for WorkOsFgaRequest
impl Sync for WorkOsFgaRequest
impl Unpin for WorkOsFgaRequest
impl UnsafeUnpin for WorkOsFgaRequest
impl UnwindSafe for WorkOsFgaRequest
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