pub struct GithubClaimIn {
pub accounts: Option<Vec<String>>,
pub all: Option<bool>,
}Fields§
§accounts: Option<Vec<String>>Accounts names GitHub logins the App is installed on ("hanzoai"). Matched case-insensitively, since GitHub logins are. Ignored when all is true.
all: Option<bool>All binds every account the App holds, instead of naming them.
Implementations§
Source§impl GithubClaimIn
impl GithubClaimIn
pub fn new() -> GithubClaimIn
Trait Implementations§
Source§impl Clone for GithubClaimIn
impl Clone for GithubClaimIn
Source§fn clone(&self) -> GithubClaimIn
fn clone(&self) -> GithubClaimIn
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 GithubClaimIn
impl Debug for GithubClaimIn
Source§impl Default for GithubClaimIn
impl Default for GithubClaimIn
Source§fn default() -> GithubClaimIn
fn default() -> GithubClaimIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubClaimIn
impl<'de> Deserialize<'de> for GithubClaimIn
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 GithubClaimIn
impl PartialEq for GithubClaimIn
Source§impl Serialize for GithubClaimIn
impl Serialize for GithubClaimIn
impl StructuralPartialEq for GithubClaimIn
Auto Trait Implementations§
impl Freeze for GithubClaimIn
impl RefUnwindSafe for GithubClaimIn
impl Send for GithubClaimIn
impl Sync for GithubClaimIn
impl Unpin for GithubClaimIn
impl UnsafeUnpin for GithubClaimIn
impl UnwindSafe for GithubClaimIn
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