[−][src]Struct coral::Entry
A top-level entry output by cargo
Fields
reason: Reason
package_id: String
target: Option<Target>
message: Option<Message>
profile: Option<Profile>
features: Option<Vec<String>>
filenames: Option<Vec<PathBuf>>
executable: Option<PathBuf>
fresh: Option<bool>
Methods
impl Entry
[src]
pub fn is_message(&self) -> bool
[src]
Check if the Entry
is a compiler message
pub fn is_artifact(&self) -> bool
[src]
Check if the Entry
is a compiler artifact
pub fn is_warning(&self) -> bool
[src]
Check if a level exists and is a warning
pub fn is_error(&self) -> bool
[src]
Check if a level exists and is an error
pub fn is_note(&self) -> bool
[src]
Check if a level exists and is a note
pub fn is_help(&self) -> bool
[src]
Check if a level exists and is a help
pub fn report(&self) -> Option<String>
[src]
Get an error, warning, or info report from the Entry
pub fn report_width(&self, terminal_width: usize) -> Option<String>
[src]
Same as Entry::report
but uses a custom terminal width
pub fn rendered(&self) -> Option<&str>
[src]
Get the Entry
's render if it had one
Trait Implementations
impl Clone for Entry
[src]
fn clone(&self) -> Entry
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Entry> for Entry
[src]
impl Eq for Entry
[src]
impl Debug for Entry
[src]
impl Serialize for Entry
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Entry
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for Entry
impl Unpin for Entry
impl Send for Entry
impl UnwindSafe for Entry
impl RefUnwindSafe for Entry
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,