pub struct Model {
pub id: i64,
pub node: String,
pub timestamp: DateTime<Utc>,
pub severity: String,
pub erlang_pid: String,
pub subsystem_id: Option<i16>,
pub message: String,
pub labels: i64,
pub resolution_or_discussion_url_id: Option<i16>,
pub doc_url_id: Option<i16>,
}Fields§
§id: i64§node: String§timestamp: DateTime<Utc>§severity: String§erlang_pid: String§subsystem_id: Option<i16>§message: String§labels: i64§resolution_or_discussion_url_id: Option<i16>§doc_url_id: Option<i16>Implementations§
Source§impl Model
impl Model
pub fn is_multiline(&self) -> bool
pub fn format_labels(&self) -> String
pub fn get_labels(&self) -> LogEntryLabels
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
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 Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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