pub struct PermissionsRequestApprovalResponse {
pub permissions: GrantedPermissionProfile,
pub scope: Option<Value>,
pub strict_auto_review: Option<bool>,
}Fields§
§permissions: GrantedPermissionProfile§scope: Option<Value>§strict_auto_review: Option<bool>Trait Implementations§
Source§impl Clone for PermissionsRequestApprovalResponse
impl Clone for PermissionsRequestApprovalResponse
Source§fn clone(&self) -> PermissionsRequestApprovalResponse
fn clone(&self) -> PermissionsRequestApprovalResponse
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<'de> Deserialize<'de> for PermissionsRequestApprovalResponse
impl<'de> Deserialize<'de> for PermissionsRequestApprovalResponse
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
Source§impl PartialEq for PermissionsRequestApprovalResponse
impl PartialEq for PermissionsRequestApprovalResponse
Source§fn eq(&self, other: &PermissionsRequestApprovalResponse) -> bool
fn eq(&self, other: &PermissionsRequestApprovalResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PermissionsRequestApprovalResponse
Auto Trait Implementations§
impl Freeze for PermissionsRequestApprovalResponse
impl RefUnwindSafe for PermissionsRequestApprovalResponse
impl Send for PermissionsRequestApprovalResponse
impl Sync for PermissionsRequestApprovalResponse
impl Unpin for PermissionsRequestApprovalResponse
impl UnsafeUnpin for PermissionsRequestApprovalResponse
impl UnwindSafe for PermissionsRequestApprovalResponse
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