pub struct ForkEventForkeePermissions {
pub admin: bool,
pub maintain: Option<bool>,
pub pull: bool,
pub push: bool,
pub triage: Option<bool>,
}
Expand description
ForkEventForkeePermissions
JSON schema
{
"type": "object",
"required": [
"admin",
"pull",
"push"
],
"properties": {
"admin": {
"type": "boolean"
},
"maintain": {
"type": "boolean"
},
"pull": {
"type": "boolean"
},
"push": {
"type": "boolean"
},
"triage": {
"type": "boolean"
}
},
"additionalProperties": false
}
Fields§
§admin: bool
§maintain: Option<bool>
§pull: bool
§push: bool
§triage: Option<bool>
Implementations§
Source§impl ForkEventForkeePermissions
impl ForkEventForkeePermissions
pub fn builder() -> ForkEventForkeePermissions
Trait Implementations§
Source§impl Clone for ForkEventForkeePermissions
impl Clone for ForkEventForkeePermissions
Source§fn clone(&self) -> ForkEventForkeePermissions
fn clone(&self) -> ForkEventForkeePermissions
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 ForkEventForkeePermissions
impl Debug for ForkEventForkeePermissions
Source§impl<'de> Deserialize<'de> for ForkEventForkeePermissions
impl<'de> Deserialize<'de> for ForkEventForkeePermissions
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 From<&ForkEventForkeePermissions> for ForkEventForkeePermissions
impl From<&ForkEventForkeePermissions> for ForkEventForkeePermissions
Source§fn from(value: &ForkEventForkeePermissions) -> Self
fn from(value: &ForkEventForkeePermissions) -> Self
Converts to this type from the input type.
Source§impl From<ForkEventForkeePermissions> for ForkEventForkeePermissions
impl From<ForkEventForkeePermissions> for ForkEventForkeePermissions
Source§fn from(value: ForkEventForkeePermissions) -> Self
fn from(value: ForkEventForkeePermissions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ForkEventForkeePermissions
impl RefUnwindSafe for ForkEventForkeePermissions
impl Send for ForkEventForkeePermissions
impl Sync for ForkEventForkeePermissions
impl Unpin for ForkEventForkeePermissions
impl UnwindSafe for ForkEventForkeePermissions
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