pub struct EvalContribution {Show 18 fields
pub contribution_rid: String,
pub workspace_rid: String,
pub source: i32,
pub use_case: String,
pub expected_behavior: String,
pub scenario_hint: Option<String>,
pub capability_labels: Vec<String>,
pub failure_labels: Vec<String>,
pub tags: Vec<String>,
pub owner_user_rid: String,
pub created_by_user_rid: String,
pub lifecycle: i32,
pub revision: i64,
pub latest_brief_digest: Option<String>,
pub needs_input: Option<NeedsInput>,
pub closed_reason: Option<String>,
pub created_at: Option<Timestamp>,
pub updated_at: Option<Timestamp>,
}Fields§
§contribution_rid: String§workspace_rid: String§source: i32§use_case: String§expected_behavior: String§scenario_hint: Option<String>§capability_labels: Vec<String>§failure_labels: Vec<String>§owner_user_rid: String§created_by_user_rid: String§lifecycle: i32§revision: i64§latest_brief_digest: Option<String>§needs_input: Option<NeedsInput>§closed_reason: Option<String>§created_at: Option<Timestamp>§updated_at: Option<Timestamp>Implementations§
Source§impl EvalContribution
impl EvalContribution
Sourcepub fn source(&self) -> ContributionSource
pub fn source(&self) -> ContributionSource
Returns the enum value of source, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source(&mut self, value: ContributionSource)
pub fn set_source(&mut self, value: ContributionSource)
Sets source to the provided enum value.
Sourcepub fn scenario_hint(&self) -> &str
pub fn scenario_hint(&self) -> &str
Returns the value of scenario_hint, or the default value if scenario_hint is unset.
Sourcepub fn lifecycle(&self) -> ContributionLifecycle
pub fn lifecycle(&self) -> ContributionLifecycle
Returns the enum value of lifecycle, or the default if the field is set to an invalid enum value.
Sourcepub fn set_lifecycle(&mut self, value: ContributionLifecycle)
pub fn set_lifecycle(&mut self, value: ContributionLifecycle)
Sets lifecycle to the provided enum value.
Sourcepub fn latest_brief_digest(&self) -> &str
pub fn latest_brief_digest(&self) -> &str
Returns the value of latest_brief_digest, or the default value if latest_brief_digest is unset.
Sourcepub fn closed_reason(&self) -> &str
pub fn closed_reason(&self) -> &str
Returns the value of closed_reason, or the default value if closed_reason is unset.
Trait Implementations§
Source§impl Clone for EvalContribution
impl Clone for EvalContribution
Source§fn clone(&self) -> EvalContribution
fn clone(&self) -> EvalContribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EvalContribution
impl Debug for EvalContribution
Source§impl Default for EvalContribution
impl Default for EvalContribution
Source§impl Message for EvalContribution
impl Message for EvalContribution
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 EvalContribution
impl PartialEq for EvalContribution
impl StructuralPartialEq for EvalContribution
Auto Trait Implementations§
impl Freeze for EvalContribution
impl RefUnwindSafe for EvalContribution
impl Send for EvalContribution
impl Sync for EvalContribution
impl Unpin for EvalContribution
impl UnsafeUnpin for EvalContribution
impl UnwindSafe for EvalContribution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request