Enum google_api_proto::google::cloud::stream::logging::v1::OperationEventType
source · #[repr(i32)]pub enum OperationEventType {
Show 15 variants
Unspecified = 0,
OperationEventCreateContentStarted = 1,
OperationEventCreateContentEnded = 2,
OperationEventBuildContentStarted = 3,
OperationEventBuildContentEnded = 4,
OperationEventUpdateContentStarted = 5,
OperationEventUpdateContentEnded = 6,
OperationEventDeleteContentStarted = 7,
OperationEventDeleteContentEnded = 8,
OperationEventCreateInstanceStarted = 9,
OperationEventCreateInstanceEnded = 10,
OperationEventUpdateInstanceStarted = 11,
OperationEventUpdateInstanceEnded = 12,
OperationEventDeleteInstanceStarted = 13,
OperationEventDeleteInstanceEnded = 14,
}
Expand description
OperationEventType is the enum value for the state of operation.
Variants§
Unspecified = 0
Unspecified operation event type.
OperationEventCreateContentStarted = 1
Operation for create stream content started.
OperationEventCreateContentEnded = 2
Operation for create stream content ended.
OperationEventBuildContentStarted = 3
Operation for build stream content started.
OperationEventBuildContentEnded = 4
Operation for build stream content ended.
OperationEventUpdateContentStarted = 5
Operation for update stream content started.
OperationEventUpdateContentEnded = 6
Operation for update stream content ended.
OperationEventDeleteContentStarted = 7
Operation for delete stream content started.
OperationEventDeleteContentEnded = 8
Operation for delete stream content ended.
OperationEventCreateInstanceStarted = 9
Operation for create stream instance started.
OperationEventCreateInstanceEnded = 10
Operation for create stream instance ended.
OperationEventUpdateInstanceStarted = 11
Operation for update stream instance started.
OperationEventUpdateInstanceEnded = 12
Operation for update stream instance ended.
OperationEventDeleteInstanceStarted = 13
Operation for delete stream instance started.
OperationEventDeleteInstanceEnded = 14
Operation for delete stream instance ended.
Implementations§
source§impl OperationEventType
impl OperationEventType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for OperationEventType
impl Clone for OperationEventType
source§fn clone(&self) -> OperationEventType
fn clone(&self) -> OperationEventType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OperationEventType
impl Debug for OperationEventType
source§impl Default for OperationEventType
impl Default for OperationEventType
source§fn default() -> OperationEventType
fn default() -> OperationEventType
source§impl From<OperationEventType> for i32
impl From<OperationEventType> for i32
source§fn from(value: OperationEventType) -> i32
fn from(value: OperationEventType) -> i32
source§impl Hash for OperationEventType
impl Hash for OperationEventType
source§impl Ord for OperationEventType
impl Ord for OperationEventType
source§fn cmp(&self, other: &OperationEventType) -> Ordering
fn cmp(&self, other: &OperationEventType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for OperationEventType
impl PartialEq for OperationEventType
source§fn eq(&self, other: &OperationEventType) -> bool
fn eq(&self, other: &OperationEventType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OperationEventType
impl PartialOrd for OperationEventType
source§fn partial_cmp(&self, other: &OperationEventType) -> Option<Ordering>
fn partial_cmp(&self, other: &OperationEventType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for OperationEventType
impl TryFrom<i32> for OperationEventType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<OperationEventType, DecodeError>
fn try_from(value: i32) -> Result<OperationEventType, DecodeError>
impl Copy for OperationEventType
impl Eq for OperationEventType
impl StructuralPartialEq for OperationEventType
Auto Trait Implementations§
impl Freeze for OperationEventType
impl RefUnwindSafe for OperationEventType
impl Send for OperationEventType
impl Sync for OperationEventType
impl Unpin for OperationEventType
impl UnwindSafe for OperationEventType
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request