#[non_exhaustive]pub struct BatchWriteSpansRequest {
pub name: String,
pub spans: Vec<Span>,
/* private fields */
}Expand description
The request message for the BatchWriteSpans 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.name: StringRequired. The name of the project where the spans belong. The format is
projects/[PROJECT_ID].
spans: Vec<Span>Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.
Implementations§
Trait Implementations§
Source§impl Clone for BatchWriteSpansRequest
impl Clone for BatchWriteSpansRequest
Source§fn clone(&self) -> BatchWriteSpansRequest
fn clone(&self) -> BatchWriteSpansRequest
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 BatchWriteSpansRequest
impl Debug for BatchWriteSpansRequest
Source§impl Default for BatchWriteSpansRequest
impl Default for BatchWriteSpansRequest
Source§fn default() -> BatchWriteSpansRequest
fn default() -> BatchWriteSpansRequest
Returns the “default value” for a type. Read more
Source§impl Message for BatchWriteSpansRequest
impl Message for BatchWriteSpansRequest
Source§impl PartialEq for BatchWriteSpansRequest
impl PartialEq for BatchWriteSpansRequest
impl StructuralPartialEq for BatchWriteSpansRequest
Auto Trait Implementations§
impl Freeze for BatchWriteSpansRequest
impl RefUnwindSafe for BatchWriteSpansRequest
impl Send for BatchWriteSpansRequest
impl Sync for BatchWriteSpansRequest
impl Unpin for BatchWriteSpansRequest
impl UnwindSafe for BatchWriteSpansRequest
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