pub struct DatabaseVerificationProperty {
pub id: Option<String>,
pub name: String,
pub description: Option<String>,
pub verification: HashMap<(), ()>,
}
Fields§
§id: Option<String>
Property Identifier
name: String
Modify the value of this field when updating the column name of the property.
description: Option<String>
Although it is not explicitly stated in the official documentation, you can add a description to the property by specifying this.
verification: HashMap<(), ()>
An empty object ({}
)
Implementations§
Source§impl DatabaseVerificationProperty
impl DatabaseVerificationProperty
Sourcepub fn name<T>(self, name: T) -> Self
pub fn name<T>(self, name: T) -> Self
Set the value of the name
field.
Modify the value of this field when updating the column name of the property.
Sourcepub fn description<T>(self, description: T) -> Self
pub fn description<T>(self, description: T) -> Self
Set the value of the description
field.
Although it is not explicitly stated in the official documentation, you can add a description to the property by specifying this.
Sourcepub fn verification(self, verification: HashMap<(), ()>) -> Self
pub fn verification(self, verification: HashMap<(), ()>) -> Self
Set the value of the verification
field.
An empty object ({}
)
Trait Implementations§
Source§impl Clone for DatabaseVerificationProperty
impl Clone for DatabaseVerificationProperty
Source§fn clone(&self) -> DatabaseVerificationProperty
fn clone(&self) -> DatabaseVerificationProperty
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 DatabaseVerificationProperty
impl Debug for DatabaseVerificationProperty
Source§impl Default for DatabaseVerificationProperty
impl Default for DatabaseVerificationProperty
Source§fn default() -> DatabaseVerificationProperty
fn default() -> DatabaseVerificationProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseVerificationProperty
impl<'de> Deserialize<'de> for DatabaseVerificationProperty
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 PartialEq for DatabaseVerificationProperty
impl PartialEq for DatabaseVerificationProperty
Source§fn eq(&self, other: &DatabaseVerificationProperty) -> bool
fn eq(&self, other: &DatabaseVerificationProperty) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for DatabaseVerificationProperty
impl StructuralPartialEq for DatabaseVerificationProperty
Auto Trait Implementations§
impl Freeze for DatabaseVerificationProperty
impl RefUnwindSafe for DatabaseVerificationProperty
impl Send for DatabaseVerificationProperty
impl Sync for DatabaseVerificationProperty
impl Unpin for DatabaseVerificationProperty
impl UnwindSafe for DatabaseVerificationProperty
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