pub struct CycleKindSpec {
pub label: Option<String>,
pub description: Option<String>,
pub remediation: Option<String>,
}Expand description
Label + description of one cycle kind ("mutual" / "chain").
Fields§
§label: Option<String>§description: Option<String>§remediation: Option<String>How to fix this cycle kind — the fix line in check diagnostics. Data,
not code: lives in the shared defaults.toml [cycle_kinds], not the CLI.
Trait Implementations§
Source§impl Clone for CycleKindSpec
impl Clone for CycleKindSpec
Source§fn clone(&self) -> CycleKindSpec
fn clone(&self) -> CycleKindSpec
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 CycleKindSpec
impl Debug for CycleKindSpec
Source§impl<'de> Deserialize<'de> for CycleKindSpec
impl<'de> Deserialize<'de> for CycleKindSpec
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 CycleKindSpec
impl RefUnwindSafe for CycleKindSpec
impl Send for CycleKindSpec
impl Sync for CycleKindSpec
impl Unpin for CycleKindSpec
impl UnsafeUnpin for CycleKindSpec
impl UnwindSafe for CycleKindSpec
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