pub struct ComponentIdInfo {
pub moniker: ExtendedMoniker,
pub instance_id: Option<InstanceId>,
pub event_id: EventCode,
pub label: String,
}Fields§
§moniker: ExtendedMonikerThe component’s moniker
instance_id: Option<InstanceId>The Component Instance ID - may not be available
event_id: EventCodeThe ID sent to Cobalt as an event code
label: StringHuman-readable label, not used by Sampler, only for human configs.
Trait Implementations§
Source§impl Debug for ComponentIdInfo
impl Debug for ComponentIdInfo
Source§impl<'de> Deserialize<'de> for ComponentIdInfo
impl<'de> Deserialize<'de> for ComponentIdInfo
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 ComponentIdInfo
impl PartialEq for ComponentIdInfo
Source§impl Serialize for ComponentIdInfo
impl Serialize for ComponentIdInfo
impl Eq for ComponentIdInfo
impl StructuralPartialEq for ComponentIdInfo
Auto Trait Implementations§
impl Freeze for ComponentIdInfo
impl RefUnwindSafe for ComponentIdInfo
impl Send for ComponentIdInfo
impl Sync for ComponentIdInfo
impl Unpin for ComponentIdInfo
impl UnwindSafe for ComponentIdInfo
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more