Struct google_connectors1::api::Field
source · pub struct Field {
pub additional_details: Option<HashMap<String, Value>>,
pub data_type: Option<String>,
pub default_value: Option<Value>,
pub description: Option<String>,
pub field: Option<String>,
pub json_schema: Option<JsonSchema>,
pub key: Option<bool>,
pub nullable: Option<bool>,
pub readonly: Option<bool>,
}
Expand description
Metadata of an entity field.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_details: Option<HashMap<String, Value>>
The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.
data_type: Option<String>
The data type of the Field.
default_value: Option<Value>
The following field specifies the default value of the Field provided by the external system if a value is not provided.
description: Option<String>
A brief description of the Field.
field: Option<String>
Name of the Field.
json_schema: Option<JsonSchema>
JsonSchema representation of this entity’s schema
key: Option<bool>
The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity.
nullable: Option<bool>
Specifies whether a null value is allowed.
readonly: Option<bool>
Specifies if the Field is readonly.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
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
impl Part for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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