pub struct ComponentIdInfo {
pub moniker: ExtendedMoniker,
pub instance_id: Option<InstanceId>,
pub event_id: EventCode,
pub label: String,
}
Fields§
§moniker: ExtendedMoniker
The component’s moniker
instance_id: Option<InstanceId>
The Component Instance ID - may not be available
event_id: EventCode
The ID sent to Cobalt as an event code
label: String
Human-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<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