Struct google_cloudtrace2::Empty [−][src]
pub struct Empty { /* fields omitted */ }A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
The JSON representation for Empty is empty JSON object {}.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- traces batch write projects (response)
Trait Implementations
impl Default for Empty[src]
impl Default for Emptyimpl Clone for Empty[src]
impl Clone for Emptyfn clone(&self) -> Empty[src]
fn clone(&self) -> EmptyReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Empty[src]
impl Debug for Emptyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl ResponseResult for Empty[src]
impl ResponseResult for Empty