pub struct SchemaFieldSpec {
pub kind: Option<String>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub field_name: Option<String>,
pub field_type: Option<String>,
pub indexed: Option<bool>,
pub read_access_type: Option<String>,
pub numeric_indexing_spec: Option<SchemaFieldSpecNumericIndexingSpec>,
pub field_id: Option<String>,
pub multi_valued: Option<bool>,
}Expand description
JSON template for FieldSpec resource for Schemas in Directory API.
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>Kind of resource this is.
display_name: Option<String>Display Name of the field.
etag: Option<String>ETag of the resource.
field_name: Option<String>Name of the field.
field_type: Option<String>Type of the field.
indexed: Option<bool>Boolean specifying whether the field is indexed or not.
read_access_type: Option<String>Read ACLs on the field specifying who can view values of this field. Valid values are “ALL_DOMAIN_USERS” and “ADMINS_AND_SELF”.
numeric_indexing_spec: Option<SchemaFieldSpecNumericIndexingSpec>Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the numericIndexingSpec allows range queries to be supported.
field_id: Option<String>Unique identifier of Field (Read-only)
multi_valued: Option<bool>Boolean specifying whether this is a multi-valued field or not.
Trait Implementations§
Source§impl Clone for SchemaFieldSpec
impl Clone for SchemaFieldSpec
Source§fn clone(&self) -> SchemaFieldSpec
fn clone(&self) -> SchemaFieldSpec
Returns a duplicate 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 SchemaFieldSpec
impl Debug for SchemaFieldSpec
Source§impl Default for SchemaFieldSpec
impl Default for SchemaFieldSpec
Source§fn default() -> SchemaFieldSpec
fn default() -> SchemaFieldSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaFieldSpec
impl<'de> Deserialize<'de> for SchemaFieldSpec
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 SchemaFieldSpec
impl Serialize for SchemaFieldSpec
impl Part for SchemaFieldSpec
Auto Trait Implementations§
impl Freeze for SchemaFieldSpec
impl RefUnwindSafe for SchemaFieldSpec
impl Send for SchemaFieldSpec
impl Sync for SchemaFieldSpec
impl Unpin for SchemaFieldSpec
impl UnsafeUnpin for SchemaFieldSpec
impl UnwindSafe for SchemaFieldSpec
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§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