Enum google_api_proto::google::cloud::asset::v1::iam_policy_analysis_query::condition_context::TimeContext
source · pub enum TimeContext {
AccessTime(Timestamp),
}
Expand description
The IAM conditions time context.
Variants§
AccessTime(Timestamp)
The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.
Implementations§
source§impl TimeContext
impl TimeContext
sourcepub fn merge<B>(
field: &mut Option<TimeContext>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<TimeContext>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for TimeContext
impl Clone for TimeContext
source§fn clone(&self) -> TimeContext
fn clone(&self) -> TimeContext
Returns a copy 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 TimeContext
impl Debug for TimeContext
source§impl PartialEq for TimeContext
impl PartialEq for TimeContext
source§fn eq(&self, other: &TimeContext) -> bool
fn eq(&self, other: &TimeContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeContext
Auto Trait Implementations§
impl Freeze for TimeContext
impl RefUnwindSafe for TimeContext
impl Send for TimeContext
impl Sync for TimeContext
impl Unpin for TimeContext
impl UnwindSafe for TimeContext
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
§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>
Wrap the input message
T
in a tonic::Request