pub struct UsageWarning {
pub file: String,
pub line: Option<usize>,
pub message: String,
}Fields§
§file: String§line: Option<usize>§message: StringTrait Implementations§
Source§impl Clone for UsageWarning
impl Clone for UsageWarning
Source§fn clone(&self) -> UsageWarning
fn clone(&self) -> UsageWarning
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 UsageWarning
impl Debug for UsageWarning
Source§impl<'de> Deserialize<'de> for UsageWarning
impl<'de> Deserialize<'de> for UsageWarning
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
impl Eq for UsageWarning
Source§impl PartialEq for UsageWarning
impl PartialEq for UsageWarning
Source§fn eq(&self, other: &UsageWarning) -> bool
fn eq(&self, other: &UsageWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UsageWarning
impl Serialize for UsageWarning
impl StructuralPartialEq for UsageWarning
Auto Trait Implementations§
impl Freeze for UsageWarning
impl RefUnwindSafe for UsageWarning
impl Send for UsageWarning
impl Sync for UsageWarning
impl Unpin for UsageWarning
impl UnsafeUnpin for UsageWarning
impl UnwindSafe for UsageWarning
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