pub struct DatabaseRelationDualProperty {
pub synced_property_id: String,
pub synced_property_name: String,
}
Fields§
§synced_property_id: String
The ID of the property for creating a two-way relation.
synced_property_name: String
The database column name of the property for creating a two-way relation.
Implementations§
Source§impl DatabaseRelationDualProperty
impl DatabaseRelationDualProperty
Sourcepub fn synced_property_id<T>(self, synced_property_id: T) -> Self
pub fn synced_property_id<T>(self, synced_property_id: T) -> Self
Set the value of the synced_property_id
field.
The ID of the property for creating a two-way relation.
Sourcepub fn synced_property_name<T>(self, synced_property_name: T) -> Self
pub fn synced_property_name<T>(self, synced_property_name: T) -> Self
Set the value of the synced_property_name
field.
The database column name of the property for creating a two-way relation.
Trait Implementations§
Source§impl Clone for DatabaseRelationDualProperty
impl Clone for DatabaseRelationDualProperty
Source§fn clone(&self) -> DatabaseRelationDualProperty
fn clone(&self) -> DatabaseRelationDualProperty
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 DatabaseRelationDualProperty
impl Debug for DatabaseRelationDualProperty
Source§impl Default for DatabaseRelationDualProperty
impl Default for DatabaseRelationDualProperty
Source§fn default() -> DatabaseRelationDualProperty
fn default() -> DatabaseRelationDualProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatabaseRelationDualProperty
impl<'de> Deserialize<'de> for DatabaseRelationDualProperty
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 DatabaseRelationDualProperty
impl PartialEq for DatabaseRelationDualProperty
Source§fn eq(&self, other: &DatabaseRelationDualProperty) -> bool
fn eq(&self, other: &DatabaseRelationDualProperty) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for DatabaseRelationDualProperty
impl StructuralPartialEq for DatabaseRelationDualProperty
Auto Trait Implementations§
impl Freeze for DatabaseRelationDualProperty
impl RefUnwindSafe for DatabaseRelationDualProperty
impl Send for DatabaseRelationDualProperty
impl Sync for DatabaseRelationDualProperty
impl Unpin for DatabaseRelationDualProperty
impl UnwindSafe for DatabaseRelationDualProperty
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