pub struct WitchcraftEnvelopeV1 { /* private fields */ }Expand description
Wraps a log entry with metadata on where it is coming from and the source service that generated it.
Implementations§
Source§impl WitchcraftEnvelopeV1
impl WitchcraftEnvelopeV1
Sourcepub fn deployment(&self) -> &str
pub fn deployment(&self) -> &str
Color or other codename for the customer infra
Sourcepub fn environment(&self) -> &str
pub fn environment(&self) -> &str
prod/staging/integration etc.
Sourcepub fn environment_id(&self) -> &str
pub fn environment_id(&self) -> &str
Skylab environment ID
Sourcepub fn service_id(&self) -> &str
pub fn service_id(&self) -> &str
Skylab service ID
Sourcepub fn product_version(&self) -> &str
pub fn product_version(&self) -> &str
Artifact semantic version
Sourcepub fn payload(&self) -> &Any
pub fn payload(&self) -> &Any
One of the Witchcraft log types; see witchcraft-api for details.
Sourcepub fn apollo_entity_id(&self) -> &str
pub fn apollo_entity_id(&self) -> &str
Apollo entity id
Sourcepub fn apollo_environment_id(&self) -> &str
pub fn apollo_environment_id(&self) -> &str
Apollo environment id
Trait Implementations§
Source§impl Clone for WitchcraftEnvelopeV1
impl Clone for WitchcraftEnvelopeV1
Source§fn clone(&self) -> WitchcraftEnvelopeV1
fn clone(&self) -> WitchcraftEnvelopeV1
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 WitchcraftEnvelopeV1
impl Debug for WitchcraftEnvelopeV1
Source§impl<'de> Deserialize<'de> for WitchcraftEnvelopeV1
impl<'de> Deserialize<'de> for WitchcraftEnvelopeV1
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<WitchcraftEnvelopeV1> for Builder<Complete>
impl From<WitchcraftEnvelopeV1> for Builder<Complete>
Source§fn from(v: WitchcraftEnvelopeV1) -> Self
fn from(v: WitchcraftEnvelopeV1) -> Self
Converts to this type from the input type.
Source§impl Hash for WitchcraftEnvelopeV1
impl Hash for WitchcraftEnvelopeV1
Source§impl Ord for WitchcraftEnvelopeV1
impl Ord for WitchcraftEnvelopeV1
Source§fn cmp(&self, other: &WitchcraftEnvelopeV1) -> Ordering
fn cmp(&self, other: &WitchcraftEnvelopeV1) -> 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 WitchcraftEnvelopeV1
impl PartialEq for WitchcraftEnvelopeV1
Source§impl PartialOrd for WitchcraftEnvelopeV1
impl PartialOrd for WitchcraftEnvelopeV1
Source§impl Serialize for WitchcraftEnvelopeV1
impl Serialize for WitchcraftEnvelopeV1
impl Eq for WitchcraftEnvelopeV1
impl StructuralPartialEq for WitchcraftEnvelopeV1
Auto Trait Implementations§
impl Freeze for WitchcraftEnvelopeV1
impl RefUnwindSafe for WitchcraftEnvelopeV1
impl Send for WitchcraftEnvelopeV1
impl Sync for WitchcraftEnvelopeV1
impl Unpin for WitchcraftEnvelopeV1
impl UnwindSafe for WitchcraftEnvelopeV1
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