pub struct UnstableTopicAssignment {
pub trace_id: String,
pub timestamp: Timestamp,
pub facet_id: String,
pub facet_name: String,
pub facet_version: i64,
pub rule_id: Option<Option<String>>,
pub status: UnstableTopicAssignmentStatus,
pub topic: Option<UnstableTopicAssignmentTopic>,
pub run_id: Option<Option<String>>,
pub assigned_at: Timestamp,
}Fields§
§trace_id: String§timestamp: TimestampTrace start time.
facet_id: String§facet_name: String§facet_version: i64§rule_id: Option<Option<String>>The rule whose map assigned the trace. Null when the project has no rule.
status: UnstableTopicAssignmentStatus§topic: Option<UnstableTopicAssignmentTopic>§run_id: Option<Option<String>>The run that assigned the trace. Null for assignments made as traces arrive.
assigned_at: TimestampImplementations§
Source§impl UnstableTopicAssignment
impl UnstableTopicAssignment
Sourcepub fn builder() -> UnstableTopicAssignmentBuilder
pub fn builder() -> UnstableTopicAssignmentBuilder
Create an instance of UnstableTopicAssignment using the builder syntax
Source§impl UnstableTopicAssignment
impl UnstableTopicAssignment
pub fn new( trace_id: String, timestamp: Timestamp, facet_id: String, facet_name: String, facet_version: i64, status: UnstableTopicAssignmentStatus, assigned_at: Timestamp, ) -> UnstableTopicAssignment
Trait Implementations§
Source§impl Clone for UnstableTopicAssignment
impl Clone for UnstableTopicAssignment
Source§impl Debug for UnstableTopicAssignment
impl Debug for UnstableTopicAssignment
Source§impl<'de> Deserialize<'de> for UnstableTopicAssignment
impl<'de> Deserialize<'de> for UnstableTopicAssignment
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 UnstableTopicAssignment
impl PartialEq for UnstableTopicAssignment
Source§impl Serialize for UnstableTopicAssignment
impl Serialize for UnstableTopicAssignment
impl StructuralPartialEq for UnstableTopicAssignment
Source§impl Validate for UnstableTopicAssignment
impl Validate for UnstableTopicAssignment
Source§fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
Pushes every value that breaks a keyword onto
errors, with its path below path, and nothing when the value
is valid. validate() calls it with Path::root; a model calls it on the models it holds with their path.Auto Trait Implementations§
impl Forget for UnstableTopicAssignment
impl Freeze for UnstableTopicAssignment
impl Move for UnstableTopicAssignment
impl RefUnwindSafe for UnstableTopicAssignment
impl Send for UnstableTopicAssignment
impl Sync for UnstableTopicAssignment
impl Unpin for UnstableTopicAssignment
impl UnsafeUnpin for UnstableTopicAssignment
impl UnwindSafe for UnstableTopicAssignment
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