#[non_exhaustive]pub struct ListTracesResponse {
pub traces: Vec<Trace>,
pub next_page_token: String,
/* private fields */
}Expand description
The response message for the ListTraces method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.traces: Vec<Trace>List of trace records as specified by the view parameter.
next_page_token: StringIf defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
Implementations§
Source§impl ListTracesResponse
impl ListTracesResponse
pub fn new() -> Self
Sourcepub fn set_traces<T, V>(self, v: T) -> Self
pub fn set_traces<T, V>(self, v: T) -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListTracesResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListTracesResponse
impl Clone for ListTracesResponse
Source§fn clone(&self) -> ListTracesResponse
fn clone(&self) -> ListTracesResponse
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 ListTracesResponse
impl Debug for ListTracesResponse
Source§impl Default for ListTracesResponse
impl Default for ListTracesResponse
Source§fn default() -> ListTracesResponse
fn default() -> ListTracesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListTracesResponse
impl Message for ListTracesResponse
Source§impl PartialEq for ListTracesResponse
impl PartialEq for ListTracesResponse
impl StructuralPartialEq for ListTracesResponse
Auto Trait Implementations§
impl Freeze for ListTracesResponse
impl RefUnwindSafe for ListTracesResponse
impl Send for ListTracesResponse
impl Sync for ListTracesResponse
impl Unpin for ListTracesResponse
impl UnwindSafe for ListTracesResponse
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