pub struct GetCurrentUserPermissionsParams {
pub x_request_id: Option<String>,
pub scope: Option<String>,
pub relative: Option<bool>,
}Expand description
struct for passing parameters to the method get_current_user_permissions
Fields§
§x_request_id: Option<String>An unique ID for the request
scope: Option<String>The scope for the permission
relative: Option<bool>If true, the resources in the response are relative to the scope, eg for resource ‘/project/1/repository’ if relative is ‘true’ then the resource in response will be ‘repository’.
Trait Implementations§
Source§impl Clone for GetCurrentUserPermissionsParams
impl Clone for GetCurrentUserPermissionsParams
Source§fn clone(&self) -> GetCurrentUserPermissionsParams
fn clone(&self) -> GetCurrentUserPermissionsParams
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 moreAuto Trait Implementations§
impl Freeze for GetCurrentUserPermissionsParams
impl RefUnwindSafe for GetCurrentUserPermissionsParams
impl Send for GetCurrentUserPermissionsParams
impl Sync for GetCurrentUserPermissionsParams
impl Unpin for GetCurrentUserPermissionsParams
impl UnwindSafe for GetCurrentUserPermissionsParams
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