pub struct ReportFile {
pub id: String,
pub build_id: String,
pub tool: String,
pub format: String,
pub path: String,
pub language: String,
pub contents_md5: String,
pub size: i64,
pub project_id: Option<String>,
pub tag: Option<String>,
pub commit_sha: Option<String>,
pub uploaded_at: Option<Timestamp>,
}Fields§
§id: String§build_id: String§tool: String§format: String§path: String§language: String§contents_md5: String§size: i64§project_id: Option<String>§tag: Option<String>§commit_sha: Option<String>§uploaded_at: Option<Timestamp>Implementations§
Source§impl ReportFile
impl ReportFile
Sourcepub fn project_id(&self) -> &str
pub fn project_id(&self) -> &str
Returns the value of project_id, or the default value if project_id is unset.
Sourcepub fn commit_sha(&self) -> &str
pub fn commit_sha(&self) -> &str
Returns the value of commit_sha, or the default value if commit_sha is unset.
Trait Implementations§
Source§impl Clone for ReportFile
impl Clone for ReportFile
Source§fn clone(&self) -> ReportFile
fn clone(&self) -> ReportFile
Returns a duplicate 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 ReportFile
impl Debug for ReportFile
Source§impl Default for ReportFile
impl Default for ReportFile
§impl<'de> Deserialize<'de> for ReportFile
impl<'de> Deserialize<'de> for ReportFile
§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 Message for ReportFile
impl Message for ReportFile
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 ReportFile
impl PartialEq for ReportFile
§impl Serialize for ReportFile
impl Serialize for ReportFile
impl StructuralPartialEq for ReportFile
Auto Trait Implementations§
impl Freeze for ReportFile
impl RefUnwindSafe for ReportFile
impl Send for ReportFile
impl Sync for ReportFile
impl Unpin for ReportFile
impl UnwindSafe for ReportFile
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