pub struct TestMatrixEventData {
pub create_time: Option<Timestamp>,
pub state: i32,
pub invalid_matrix_details: String,
pub outcome_summary: i32,
pub result_storage: Option<ResultStorage>,
pub client_info: Option<ClientInfo>,
pub test_matrix_id: String,
}Expand description
The data within all Firebase test matrix events.
Fields§
§create_time: Option<Timestamp>Time the test matrix was created.
state: i32State of the test matrix.
invalid_matrix_details: StringCode that describes why the test matrix is considered invalid. Only set for matrices in the INVALID state.
outcome_summary: i32Outcome summary of the test matrix.
result_storage: Option<ResultStorage>Locations where test results are stored.
client_info: Option<ClientInfo>Information provided by the client that created the test matrix.
test_matrix_id: StringID of the test matrix this event belongs to.
Implementations§
Source§impl TestMatrixEventData
impl TestMatrixEventData
Sourcepub fn state(&self) -> TestState
pub fn state(&self) -> TestState
Returns the enum value of state, or the default if the field is set to an invalid enum value.
Sourcepub fn outcome_summary(&self) -> OutcomeSummary
pub fn outcome_summary(&self) -> OutcomeSummary
Returns the enum value of outcome_summary, or the default if the field is set to an invalid enum value.
Sourcepub fn set_outcome_summary(&mut self, value: OutcomeSummary)
pub fn set_outcome_summary(&mut self, value: OutcomeSummary)
Sets outcome_summary to the provided enum value.
Trait Implementations§
Source§impl Clone for TestMatrixEventData
impl Clone for TestMatrixEventData
Source§fn clone(&self) -> TestMatrixEventData
fn clone(&self) -> TestMatrixEventData
Returns a copy 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 TestMatrixEventData
impl Debug for TestMatrixEventData
Source§impl Default for TestMatrixEventData
impl Default for TestMatrixEventData
Source§impl Message for TestMatrixEventData
impl Message for TestMatrixEventData
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for TestMatrixEventData
impl PartialEq for TestMatrixEventData
impl StructuralPartialEq for TestMatrixEventData
Auto Trait Implementations§
impl Freeze for TestMatrixEventData
impl RefUnwindSafe for TestMatrixEventData
impl Send for TestMatrixEventData
impl Sync for TestMatrixEventData
impl Unpin for TestMatrixEventData
impl UnwindSafe for TestMatrixEventData
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