Struct google_api_proto::google::apps::drive::labels::v2::field::selection_options::Choice
source · pub struct Choice {Show 15 fields
pub id: String,
pub properties: Option<Properties>,
pub lifecycle: Option<Lifecycle>,
pub display_hints: Option<DisplayHints>,
pub schema_capabilities: Option<SchemaCapabilities>,
pub applied_capabilities: Option<AppliedCapabilities>,
pub creator: Option<UserInfo>,
pub create_time: Option<Timestamp>,
pub updater: Option<UserInfo>,
pub update_time: Option<Timestamp>,
pub publisher: Option<UserInfo>,
pub publish_time: Option<Timestamp>,
pub disabler: Option<UserInfo>,
pub disable_time: Option<Timestamp>,
pub lock_status: Option<LockStatus>,
}
Expand description
Selection field choice.
Fields§
§id: String
The unique value of the choice.
This ID is autogenerated. Matches the regex: (\[a-zA-Z0-9_\])+
.
properties: Option<Properties>
Basic properties of the choice.
lifecycle: Option<Lifecycle>
Output only. Lifecycle of the choice.
display_hints: Option<DisplayHints>
Output only. UI display hints for rendering a choice.
schema_capabilities: Option<SchemaCapabilities>
Output only. The capabilities related to this option when editing the option.
applied_capabilities: Option<AppliedCapabilities>
Output only. The capabilities related to this choice on applied metadata.
creator: Option<UserInfo>
Output only. The user who created this choice.
create_time: Option<Timestamp>
Output only. The time this choice was created.
updater: Option<UserInfo>
Output only. The user who updated this choice last.
update_time: Option<Timestamp>
Output only. The time this choice was updated last.
publisher: Option<UserInfo>
Output only. The user who published this choice. This value has no meaning when the choice is not published.
publish_time: Option<Timestamp>
Output only. The time this choice was published. This value has no meaning when the choice is not published.
disabler: Option<UserInfo>
Output only. The user who disabled this choice. This value has no meaning when the option is not disabled.
disable_time: Option<Timestamp>
Output only. The time this choice was disabled. This value has no meaning when the choice is not disabled.
lock_status: Option<LockStatus>
Output only. The LockStatus of this choice.
Trait Implementations§
source§impl Message for Choice
impl Message for Choice
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Choice
impl PartialEq for Choice
impl StructuralPartialEq for Choice
Auto Trait Implementations§
impl Freeze for Choice
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnwindSafe for Choice
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<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