pub struct ProjectRecord {
pub name: String,
pub title: Option<String>,
pub description: Option<String>,
pub enabled: bool,
pub parent: Option<String>,
pub inheritable: Option<bool>,
pub default_db: Option<String>,
pub tag_provider: Option<String>,
pub user_source: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of the list/find endpoints — typed core + passthrough
(defaultDb/tagProvider/userSource and every unmodeled key
round-trip so client-seam --json stays complete as the gateway
evolves).
Fields§
§name: StringProject name (unique key; the path segment everywhere).
title: Option<String>Display title.
description: Option<String>Long description.
enabled: boolWhether the project runs.
parent: Option<String>Parent project name — the inheritance link.
inheritable: Option<bool>Whether THIS project may serve as a parent (verified: real
export project.json carries it).
default_db: Option<String>Default database connection name.
tag_provider: Option<String>Tag provider name.
user_source: Option<String>User source name.
extra: BTreeMap<String, Value>Unknown keys round-trip (passthrough-shaped --json).
Trait Implementations§
Source§impl Clone for ProjectRecord
impl Clone for ProjectRecord
Source§fn clone(&self) -> ProjectRecord
fn clone(&self) -> ProjectRecord
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 ProjectRecord
impl Debug for ProjectRecord
Source§impl<'de> Deserialize<'de> for ProjectRecord
impl<'de> Deserialize<'de> for ProjectRecord
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 ProjectRecord
impl PartialEq for ProjectRecord
Source§impl Serialize for ProjectRecord
impl Serialize for ProjectRecord
impl StructuralPartialEq for ProjectRecord
Auto Trait Implementations§
impl Freeze for ProjectRecord
impl RefUnwindSafe for ProjectRecord
impl Send for ProjectRecord
impl Sync for ProjectRecord
impl Unpin for ProjectRecord
impl UnsafeUnpin for ProjectRecord
impl UnwindSafe for ProjectRecord
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