pub struct ConfigContextProfile {Show 16 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
pub schema: Option<Option<Value>>,
pub tags: Option<Vec<NestedTag>>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub data_source: Option<Box<BriefDataSource>>,
pub data_path: Option<String>,
pub data_file: Option<Box<BriefDataFile>>,
pub data_synced: Option<Option<String>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
ConfigContextProfile : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§description: Option<String>§schema: Option<Option<Value>>A JSON schema specifying the structure of the context data for this profile
owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§data_source: Option<Box<BriefDataSource>>§data_path: Option<String>Path to remote file (relative to data source root)
data_file: Option<Box<BriefDataFile>>§data_synced: Option<Option<String>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl ConfigContextProfile
impl ConfigContextProfile
Sourcepub fn new(name: String) -> ConfigContextProfile
pub fn new(name: String) -> ConfigContextProfile
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for ConfigContextProfile
impl Clone for ConfigContextProfile
Source§fn clone(&self) -> ConfigContextProfile
fn clone(&self) -> ConfigContextProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigContextProfile
impl Debug for ConfigContextProfile
Source§impl Default for ConfigContextProfile
impl Default for ConfigContextProfile
Source§fn default() -> ConfigContextProfile
fn default() -> ConfigContextProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigContextProfile
impl<'de> Deserialize<'de> for ConfigContextProfile
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 ConfigContextProfile
impl PartialEq for ConfigContextProfile
Source§fn eq(&self, other: &ConfigContextProfile) -> bool
fn eq(&self, other: &ConfigContextProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigContextProfile
impl Serialize for ConfigContextProfile
impl StructuralPartialEq for ConfigContextProfile
Auto Trait Implementations§
impl Freeze for ConfigContextProfile
impl RefUnwindSafe for ConfigContextProfile
impl Send for ConfigContextProfile
impl Sync for ConfigContextProfile
impl Unpin for ConfigContextProfile
impl UnsafeUnpin for ConfigContextProfile
impl UnwindSafe for ConfigContextProfile
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