pub struct CodeOwnersViolation {
pub code: CodeOwnerViolationCode,
pub message: String,
pub params: Vec<Value>,
}Fields§
§code: CodeOwnerViolationCode§message: String§params: Vec<Value>Implementations§
Source§impl CodeOwnersViolation
impl CodeOwnersViolation
pub fn new( code: CodeOwnerViolationCode, message: String, params: Vec<Value>, ) -> CodeOwnersViolation
Trait Implementations§
Source§impl Clone for CodeOwnersViolation
impl Clone for CodeOwnersViolation
Source§fn clone(&self) -> CodeOwnersViolation
fn clone(&self) -> CodeOwnersViolation
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 CodeOwnersViolation
impl Debug for CodeOwnersViolation
Source§impl Default for CodeOwnersViolation
impl Default for CodeOwnersViolation
Source§fn default() -> CodeOwnersViolation
fn default() -> CodeOwnersViolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeOwnersViolation
impl<'de> Deserialize<'de> for CodeOwnersViolation
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 CodeOwnersViolation
impl PartialEq for CodeOwnersViolation
Source§impl Serialize for CodeOwnersViolation
impl Serialize for CodeOwnersViolation
impl StructuralPartialEq for CodeOwnersViolation
Auto Trait Implementations§
impl Freeze for CodeOwnersViolation
impl RefUnwindSafe for CodeOwnersViolation
impl Send for CodeOwnersViolation
impl Sync for CodeOwnersViolation
impl Unpin for CodeOwnersViolation
impl UnwindSafe for CodeOwnersViolation
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