pub struct WrappedLogV1 { /* private fields */ }Expand description
Wraps a log entry with entity information.
Implementations§
Source§impl WrappedLogV1
impl WrappedLogV1
pub fn payload(&self) -> &WrappedLogV1Payload
Sourcepub fn entity_name(&self) -> &str
pub fn entity_name(&self) -> &str
Artifact part of entity’s maven coordinate
pub fn entity_version(&self) -> &str
Sourcepub fn service(&self) -> Option<&str>
pub fn service(&self) -> Option<&str>
Defaults to the wrapped log producer’s Skylab service name.
Sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
Defaults to the wrapped log producer’s Skylab service ID.
Trait Implementations§
Source§impl Clone for WrappedLogV1
impl Clone for WrappedLogV1
Source§fn clone(&self) -> WrappedLogV1
fn clone(&self) -> WrappedLogV1
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 WrappedLogV1
impl Debug for WrappedLogV1
Source§impl<'de> Deserialize<'de> for WrappedLogV1
impl<'de> Deserialize<'de> for WrappedLogV1
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 From<WrappedLogV1> for Builder<Complete>
impl From<WrappedLogV1> for Builder<Complete>
Source§fn from(v: WrappedLogV1) -> Self
fn from(v: WrappedLogV1) -> Self
Converts to this type from the input type.
Source§impl Hash for WrappedLogV1
impl Hash for WrappedLogV1
Source§impl Ord for WrappedLogV1
impl Ord for WrappedLogV1
Source§fn cmp(&self, other: &WrappedLogV1) -> Ordering
fn cmp(&self, other: &WrappedLogV1) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WrappedLogV1
impl PartialEq for WrappedLogV1
Source§impl PartialOrd for WrappedLogV1
impl PartialOrd for WrappedLogV1
Source§impl Serialize for WrappedLogV1
impl Serialize for WrappedLogV1
impl Eq for WrappedLogV1
impl StructuralPartialEq for WrappedLogV1
Auto Trait Implementations§
impl Freeze for WrappedLogV1
impl RefUnwindSafe for WrappedLogV1
impl Send for WrappedLogV1
impl Sync for WrappedLogV1
impl Unpin for WrappedLogV1
impl UnwindSafe for WrappedLogV1
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