Files
google-apis-rs/google_cloudtrace2/api/index.html
2021-04-02 00:20:57 +08:00

32 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `api` mod in crate `google_cloudtrace2`."><meta name="keywords" content="rust, rustlang, rust-lang, api"><title>google_cloudtrace2::api - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../google_cloudtrace2/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module api</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../index.html">google_cloudtrace2</a></p><div id="sidebar-vars" data-name="api" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">google_cloudtrace2</a>::<wbr><a class="mod" href="">api</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/google_cloudtrace2/api.rs.html#1-1203" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
<table><tr class="module-item"><td><a class="struct" href="struct.Annotation.html" title="google_cloudtrace2::api::Annotation struct">Annotation</a></td><td class="docblock-short"><p>Text annotation with a set of attributes.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AttributeValue.html" title="google_cloudtrace2::api::AttributeValue struct">AttributeValue</a></td><td class="docblock-short"><p>The allowed types for [VALUE] in a <code>[KEY]:[VALUE]</code> attribute.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Attributes.html" title="google_cloudtrace2::api::Attributes struct">Attributes</a></td><td class="docblock-short"><p>A set of attributes, each in the format <code>[KEY]:[VALUE]</code>.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.BatchWriteSpansRequest.html" title="google_cloudtrace2::api::BatchWriteSpansRequest struct">BatchWriteSpansRequest</a></td><td class="docblock-short"><p>The request message for the <code>BatchWriteSpans</code> method.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.CloudTrace.html" title="google_cloudtrace2::api::CloudTrace struct">CloudTrace</a></td><td class="docblock-short"><p>Central instance to access all CloudTrace related resource activities</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Empty.html" title="google_cloudtrace2::api::Empty struct">Empty</a></td><td class="docblock-short"><p>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 <code>Empty</code> is empty JSON object <code>{}</code>.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Link.html" title="google_cloudtrace2::api::Link struct">Link</a></td><td class="docblock-short"><p>A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Links.html" title="google_cloudtrace2::api::Links struct">Links</a></td><td class="docblock-short"><p>A collection of links, which are references from this span to a span in the same or different trace.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.MessageEvent.html" title="google_cloudtrace2::api::MessageEvent struct">MessageEvent</a></td><td class="docblock-short"><p>An event describing a message sent/received between Spans.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Module.html" title="google_cloudtrace2::api::Module struct">Module</a></td><td class="docblock-short"><p>Binary module.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectMethods.html" title="google_cloudtrace2::api::ProjectMethods struct">ProjectMethods</a></td><td class="docblock-short"><p>A builder providing access to all methods supported on <em>project</em> resources.
It is not used directly, but through the <code>CloudTrace</code> hub.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectTraceBatchWriteCall.html" title="google_cloudtrace2::api::ProjectTraceBatchWriteCall struct">ProjectTraceBatchWriteCall</a></td><td class="docblock-short"><p>Sends new spans to new or existing traces. You cannot update existing spans.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ProjectTraceSpanCreateSpanCall.html" title="google_cloudtrace2::api::ProjectTraceSpanCreateSpanCall struct">ProjectTraceSpanCreateSpanCall</a></td><td class="docblock-short"><p>Creates a new span.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Span.html" title="google_cloudtrace2::api::Span struct">Span</a></td><td class="docblock-short"><p>A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous—there may be gaps or overlaps between spans in a trace.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StackFrame.html" title="google_cloudtrace2::api::StackFrame struct">StackFrame</a></td><td class="docblock-short"><p>Represents a single stack frame in a stack trace.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StackFrames.html" title="google_cloudtrace2::api::StackFrames struct">StackFrames</a></td><td class="docblock-short"><p>A collection of stack frames, which can be truncated.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StackTrace.html" title="google_cloudtrace2::api::StackTrace struct">StackTrace</a></td><td class="docblock-short"><p>A call stack appearing in a trace.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Status.html" title="google_cloudtrace2::api::Status struct">Status</a></td><td class="docblock-short"><p>The <code>Status</code> type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by <a href="https://github.com/grpc">gRPC</a>. Each <code>Status</code> message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the <a href="https://cloud.google.com/apis/design/errors">API Design Guide</a>.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TimeEvent.html" title="google_cloudtrace2::api::TimeEvent struct">TimeEvent</a></td><td class="docblock-short"><p>A time-stamped annotation or message event in the Span.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TimeEvents.html" title="google_cloudtrace2::api::TimeEvents struct">TimeEvents</a></td><td class="docblock-short"><p>A collection of <code>TimeEvent</code>s. A <code>TimeEvent</code> is a time-stamped annotation on the span, consisting of either user-supplied key:value pairs, or details of a message sent/received between Spans.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TruncatableString.html" title="google_cloudtrace2::api::TruncatableString struct">TruncatableString</a></td><td class="docblock-short"><p>Represents a string that might be shortened to a specified length.</p>
</td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
<table><tr class="module-item"><td><a class="enum" href="enum.Scope.html" title="google_cloudtrace2::api::Scope enum">Scope</a></td><td class="docblock-short"><p>Identifies the an OAuth2 authorization scope.
A scope is needed when requesting an
<a href="https://developers.google.com/youtube/v3/guides/authentication">authorization token</a>.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_cloudtrace2"></div>
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>