Enum google_api_proto::google::analytics::admin::v1alpha::LinkProposalState
source · #[repr(i32)]pub enum LinkProposalState {
Unspecified = 0,
AwaitingReviewFromGoogleAnalytics = 1,
AwaitingReviewFromLinkedProduct = 2,
Withdrawn = 3,
Declined = 4,
Expired = 5,
Obsolete = 6,
}
Expand description
The state of a link proposal resource.
Variants§
Unspecified = 0
Unspecified state
AwaitingReviewFromGoogleAnalytics = 1
This proposal is awaiting review from a Google Analytics user. This proposal will automatically expire after some time.
AwaitingReviewFromLinkedProduct = 2
This proposal is awaiting review from a user of a linked product. This proposal will automatically expire after some time.
Withdrawn = 3
This proposal has been withdrawn by an admin on the initiating product. This proposal will be automatically deleted after some time.
Declined = 4
This proposal has been declined by an admin on the receiving product. This proposal will be automatically deleted after some time.
Expired = 5
This proposal expired due to lack of response from an admin on the receiving product. This proposal will be automatically deleted after some time.
Obsolete = 6
This proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies. This proposal will be automatically deleted after some time.
Implementations§
source§impl LinkProposalState
impl LinkProposalState
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 LinkProposalState
impl Clone for LinkProposalState
source§fn clone(&self) -> LinkProposalState
fn clone(&self) -> LinkProposalState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LinkProposalState
impl Debug for LinkProposalState
source§impl Default for LinkProposalState
impl Default for LinkProposalState
source§fn default() -> LinkProposalState
fn default() -> LinkProposalState
source§impl From<LinkProposalState> for i32
impl From<LinkProposalState> for i32
source§fn from(value: LinkProposalState) -> i32
fn from(value: LinkProposalState) -> i32
source§impl Hash for LinkProposalState
impl Hash for LinkProposalState
source§impl Ord for LinkProposalState
impl Ord for LinkProposalState
source§fn cmp(&self, other: &LinkProposalState) -> Ordering
fn cmp(&self, other: &LinkProposalState) -> 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 LinkProposalState
impl PartialEq for LinkProposalState
source§fn eq(&self, other: &LinkProposalState) -> bool
fn eq(&self, other: &LinkProposalState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LinkProposalState
impl PartialOrd for LinkProposalState
source§fn partial_cmp(&self, other: &LinkProposalState) -> Option<Ordering>
fn partial_cmp(&self, other: &LinkProposalState) -> 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 LinkProposalState
impl TryFrom<i32> for LinkProposalState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<LinkProposalState, UnknownEnumValue>
fn try_from(value: i32) -> Result<LinkProposalState, UnknownEnumValue>
impl Copy for LinkProposalState
impl Eq for LinkProposalState
impl StructuralPartialEq for LinkProposalState
Auto Trait Implementations§
impl Freeze for LinkProposalState
impl RefUnwindSafe for LinkProposalState
impl Send for LinkProposalState
impl Sync for LinkProposalState
impl Unpin for LinkProposalState
impl UnwindSafe for LinkProposalState
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