pub struct PostAgentProfileRequest {
pub agent_profile: Bytes,
pub content_type: String,
pub profile_token: Option<String>,
pub profiling_group_name: String,
}
Expand description
The structure representing the postAgentProfileRequest.
Fields§
§agent_profile: Bytes
The submitted profiling data.
content_type: String
The format of the submitted profiling data. The format maps to the Accept
and Content-Type
headers of the HTTP request. You can specify one of the following: or the default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
profile_token: Option<String>
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
profiling_group_name: String
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
Trait Implementations§
Source§impl Clone for PostAgentProfileRequest
impl Clone for PostAgentProfileRequest
Source§fn clone(&self) -> PostAgentProfileRequest
fn clone(&self) -> PostAgentProfileRequest
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 PostAgentProfileRequest
impl Debug for PostAgentProfileRequest
Source§impl Default for PostAgentProfileRequest
impl Default for PostAgentProfileRequest
Source§fn default() -> PostAgentProfileRequest
fn default() -> PostAgentProfileRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for PostAgentProfileRequest
impl PartialEq for PostAgentProfileRequest
Source§impl Serialize for PostAgentProfileRequest
impl Serialize for PostAgentProfileRequest
impl StructuralPartialEq for PostAgentProfileRequest
Auto Trait Implementations§
impl !Freeze for PostAgentProfileRequest
impl RefUnwindSafe for PostAgentProfileRequest
impl Send for PostAgentProfileRequest
impl Sync for PostAgentProfileRequest
impl Unpin for PostAgentProfileRequest
impl UnwindSafe for PostAgentProfileRequest
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