pub struct CreateViewProperty {
pub name: Option<String>,
pub description: Option<String>,
pub container: TaggedContainerReference,
pub container_property_identifier: String,
pub source: Option<TaggedViewReference>,
}Expand description
Create a new view property.
Fields§
§name: Option<String>Human readable property name.
description: Option<String>Description of content and suggested use for this property.
container: TaggedContainerReferenceReference to an existing container.
container_property_identifier: StringThe unique identifier for the property (Unique within the referenced container).
source: Option<TaggedViewReference>Indicates what type a referenced direct relation is expected to be.
Trait Implementations§
Source§impl Clone for CreateViewProperty
impl Clone for CreateViewProperty
Source§fn clone(&self) -> CreateViewProperty
fn clone(&self) -> CreateViewProperty
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 CreateViewProperty
impl Debug for CreateViewProperty
Source§impl<'de> Deserialize<'de> for CreateViewProperty
impl<'de> Deserialize<'de> for CreateViewProperty
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 From<ViewCorePropertyDefinition> for CreateViewProperty
impl From<ViewCorePropertyDefinition> for CreateViewProperty
Source§fn from(value: ViewCorePropertyDefinition) -> Self
fn from(value: ViewCorePropertyDefinition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateViewProperty
impl RefUnwindSafe for CreateViewProperty
impl Send for CreateViewProperty
impl Sync for CreateViewProperty
impl Unpin for CreateViewProperty
impl UnwindSafe for CreateViewProperty
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