pub struct GrantChoice {
pub permissions: Option<Permissions>,
pub capabilities: Option<Capabilities>,
}Expand description
Optional grant choices of bot.install: absent means everything the manifest asks for,
within the operator’s ceiling.
Fields§
§permissions: Option<Permissions>Permission bits.
capabilities: Option<Capabilities>Capabilities.
Trait Implementations§
Source§impl Clone for GrantChoice
impl Clone for GrantChoice
Source§fn clone(&self) -> GrantChoice
fn clone(&self) -> GrantChoice
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 GrantChoice
impl Debug for GrantChoice
Source§impl Default for GrantChoice
impl Default for GrantChoice
Source§fn default() -> GrantChoice
fn default() -> GrantChoice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GrantChoice
impl<'de> Deserialize<'de> for GrantChoice
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
impl Eq for GrantChoice
Source§impl PartialEq for GrantChoice
impl PartialEq for GrantChoice
Source§impl Serialize for GrantChoice
impl Serialize for GrantChoice
impl StructuralPartialEq for GrantChoice
Auto Trait Implementations§
impl Freeze for GrantChoice
impl RefUnwindSafe for GrantChoice
impl Send for GrantChoice
impl Sync for GrantChoice
impl Unpin for GrantChoice
impl UnsafeUnpin for GrantChoice
impl UnwindSafe for GrantChoice
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