pub enum RepoCreateBranchProtectionError {
Status403(),
Status404(),
Status422(),
UnknownValue(Value),
}
Expand description
struct for typed errors of method repo_create_branch_protection
Variants§
Trait Implementations§
Source§impl Clone for RepoCreateBranchProtectionError
impl Clone for RepoCreateBranchProtectionError
Source§fn clone(&self) -> RepoCreateBranchProtectionError
fn clone(&self) -> RepoCreateBranchProtectionError
Returns a copy 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<'de> Deserialize<'de> for RepoCreateBranchProtectionError
impl<'de> Deserialize<'de> for RepoCreateBranchProtectionError
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
Auto Trait Implementations§
impl Freeze for RepoCreateBranchProtectionError
impl RefUnwindSafe for RepoCreateBranchProtectionError
impl Send for RepoCreateBranchProtectionError
impl Sync for RepoCreateBranchProtectionError
impl Unpin for RepoCreateBranchProtectionError
impl UnwindSafe for RepoCreateBranchProtectionError
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