pub struct ProfilingSessionResponse {
pub coverage_files_count: i64,
pub execution_paths_count: i64,
pub message: String,
pub session_id: String,
pub stored_at: DateTime<Utc>,
pub traces_count: i64,
pub ttl_seconds: i64,
}Expand description
Response after creating a profiling session.
JSON schema
{
"title": "ProfilingSessionResponse",
"description": "Response after creating a profiling session.",
"type": "object",
"required": [
"coverage_files_count",
"execution_paths_count",
"message",
"session_id",
"stored_at",
"traces_count",
"ttl_seconds"
],
"properties": {
"coverage_files_count": {
"title": "Coverage Files Count",
"type": "integer"
},
"execution_paths_count": {
"title": "Execution Paths Count",
"type": "integer"
},
"message": {
"title": "Message",
"type": "string"
},
"session_id": {
"title": "Session Id",
"type": "string"
},
"stored_at": {
"title": "Stored At",
"type": "string",
"format": "date-time"
},
"traces_count": {
"title": "Traces Count",
"type": "integer"
},
"ttl_seconds": {
"title": "Ttl Seconds",
"type": "integer"
}
}
}Fields§
§coverage_files_count: i64§execution_paths_count: i64§message: String§session_id: String§stored_at: DateTime<Utc>§traces_count: i64§ttl_seconds: i64Implementations§
Source§impl ProfilingSessionResponse
impl ProfilingSessionResponse
pub fn builder() -> ProfilingSessionResponse
Trait Implementations§
Source§impl Clone for ProfilingSessionResponse
impl Clone for ProfilingSessionResponse
Source§fn clone(&self) -> ProfilingSessionResponse
fn clone(&self) -> ProfilingSessionResponse
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 ProfilingSessionResponse
impl Debug for ProfilingSessionResponse
Source§impl<'de> Deserialize<'de> for ProfilingSessionResponse
impl<'de> Deserialize<'de> for ProfilingSessionResponse
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 From<&ProfilingSessionResponse> for ProfilingSessionResponse
impl From<&ProfilingSessionResponse> for ProfilingSessionResponse
Source§fn from(value: &ProfilingSessionResponse) -> Self
fn from(value: &ProfilingSessionResponse) -> Self
Converts to this type from the input type.
Source§impl From<ProfilingSessionResponse> for ProfilingSessionResponse
impl From<ProfilingSessionResponse> for ProfilingSessionResponse
Source§fn from(value: ProfilingSessionResponse) -> Self
fn from(value: ProfilingSessionResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProfilingSessionResponse
impl Serialize for ProfilingSessionResponse
Source§impl TryFrom<ProfilingSessionResponse> for ProfilingSessionResponse
impl TryFrom<ProfilingSessionResponse> for ProfilingSessionResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProfilingSessionResponse) -> Result<Self, ConversionError>
fn try_from(value: ProfilingSessionResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProfilingSessionResponse
impl RefUnwindSafe for ProfilingSessionResponse
impl Send for ProfilingSessionResponse
impl Sync for ProfilingSessionResponse
impl Unpin for ProfilingSessionResponse
impl UnwindSafe for ProfilingSessionResponse
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