pub struct ManagedProperty {
pub nested_properties: Option<Vec<ManagedProperty>>,
pub description: Option<String>,
pub key: Option<String>,
pub title: Option<String>,
pub default_value: Option<String>,
pub entries: Option<Vec<ManagedPropertyEntry>>,
pub type_: Option<String>,
}Expand description
Managed property.
This type is not used in any activity, and only used as part of another schema.
Fields§
§nested_properties: Option<Vec<ManagedProperty>>For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep.
description: Option<String>A longer description of the property, giving more detail of what it affects. Localized.
key: Option<String>The unique key that the application uses to identify the property, e.g. “com.google.android.gm.fieldname”.
title: Option<String>The name of the property. Localized.
default_value: Option<String>The default value of the properties. BUNDLE_ARRAY properties never have a default value.
entries: Option<Vec<ManagedPropertyEntry>>For CHOICE or MULTISELECT properties, the list of possible entries.
type_: Option<String>The type of the property.
Trait Implementations§
source§impl Clone for ManagedProperty
impl Clone for ManagedProperty
source§fn clone(&self) -> ManagedProperty
fn clone(&self) -> ManagedProperty
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 ManagedProperty
impl Debug for ManagedProperty
source§impl Default for ManagedProperty
impl Default for ManagedProperty
source§fn default() -> ManagedProperty
fn default() -> ManagedProperty
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ManagedProperty
impl<'de> Deserialize<'de> for ManagedProperty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ManagedProperty
impl Serialize for ManagedProperty
impl Part for ManagedProperty
Auto Trait Implementations§
impl Freeze for ManagedProperty
impl RefUnwindSafe for ManagedProperty
impl Send for ManagedProperty
impl Sync for ManagedProperty
impl Unpin for ManagedProperty
impl UnwindSafe for ManagedProperty
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more