pub struct LogResource {
pub id: Option<i32>,
pub time: Option<String>,
pub exception: Option<Option<String>>,
pub exception_type: Option<Option<String>>,
pub level: Option<Option<String>>,
pub logger: Option<Option<String>>,
pub message: Option<Option<String>>,
pub method: Option<Option<String>>,
}
Fields§
§id: Option<i32>
§time: Option<String>
§exception: Option<Option<String>>
§exception_type: Option<Option<String>>
§level: Option<Option<String>>
§logger: Option<Option<String>>
§message: Option<Option<String>>
§method: Option<Option<String>>
Implementations§
Source§impl LogResource
impl LogResource
pub fn new() -> LogResource
Trait Implementations§
Source§impl Clone for LogResource
impl Clone for LogResource
Source§fn clone(&self) -> LogResource
fn clone(&self) -> LogResource
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 LogResource
impl Debug for LogResource
Source§impl<'de> Deserialize<'de> for LogResource
impl<'de> Deserialize<'de> for LogResource
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 LogResource
impl PartialEq for LogResource
Source§impl Serialize for LogResource
impl Serialize for LogResource
impl StructuralPartialEq for LogResource
Auto Trait Implementations§
impl Freeze for LogResource
impl RefUnwindSafe for LogResource
impl Send for LogResource
impl Sync for LogResource
impl Unpin for LogResource
impl UnwindSafe for LogResource
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