pub struct CodeReviewRule {
pub id: String,
pub name: String,
pub description: String,
pub enabled: bool,
}Expand description
Code review rule
Fields§
§id: String§name: String§description: String§enabled: boolTrait Implementations§
Source§impl Clone for CodeReviewRule
impl Clone for CodeReviewRule
Source§fn clone(&self) -> CodeReviewRule
fn clone(&self) -> CodeReviewRule
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 CodeReviewRule
impl Debug for CodeReviewRule
Source§impl<'de> Deserialize<'de> for CodeReviewRule
impl<'de> Deserialize<'de> for CodeReviewRule
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 CodeReviewRule
impl RefUnwindSafe for CodeReviewRule
impl Send for CodeReviewRule
impl Sync for CodeReviewRule
impl Unpin for CodeReviewRule
impl UnwindSafe for CodeReviewRule
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