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