pub struct OrgMembershipPermissions {
pub can_create_repository: bool,
}
Fields§
§can_create_repository: bool
Implementations§
Source§impl OrgMembershipPermissions
impl OrgMembershipPermissions
pub fn new(can_create_repository: bool) -> OrgMembershipPermissions
Trait Implementations§
Source§impl Clone for OrgMembershipPermissions
impl Clone for OrgMembershipPermissions
Source§fn clone(&self) -> OrgMembershipPermissions
fn clone(&self) -> OrgMembershipPermissions
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 OrgMembershipPermissions
impl Debug for OrgMembershipPermissions
Source§impl Default for OrgMembershipPermissions
impl Default for OrgMembershipPermissions
Source§fn default() -> OrgMembershipPermissions
fn default() -> OrgMembershipPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrgMembershipPermissions
impl<'de> Deserialize<'de> for OrgMembershipPermissions
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 OrgMembershipPermissions
impl PartialEq for OrgMembershipPermissions
Source§impl Serialize for OrgMembershipPermissions
impl Serialize for OrgMembershipPermissions
impl StructuralPartialEq for OrgMembershipPermissions
Auto Trait Implementations§
impl Freeze for OrgMembershipPermissions
impl RefUnwindSafe for OrgMembershipPermissions
impl Send for OrgMembershipPermissions
impl Sync for OrgMembershipPermissions
impl Unpin for OrgMembershipPermissions
impl UnwindSafe for OrgMembershipPermissions
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