pub struct ProjectModify {
pub enabled: Option<bool>,
pub title: Option<String>,
pub description: Option<String>,
pub parent: Option<String>,
pub inheritable: Option<bool>,
pub default_db: Option<String>,
pub tag_provider: Option<String>,
pub user_source: Option<String>,
}Expand description
PUT body — modify: the create fields MINUS name (the PUT must not
rename), with enabled itself optional so a single-field set
never clobbers it. Same skip-serializing discipline: a
set --title body is exactly {"title":"T"} (unit-pinned).
Fields§
§enabled: Option<bool>Whether the project runs (sent only when the caller sets it).
title: Option<String>Display title.
description: Option<String>Long description.
parent: Option<String>Parent project — the inheritance move.
inheritable: Option<bool>Whether this project may serve as a parent.
default_db: Option<String>Default database connection.
tag_provider: Option<String>Tag provider.
user_source: Option<String>User source.
Trait Implementations§
Source§impl Clone for ProjectModify
impl Clone for ProjectModify
Source§fn clone(&self) -> ProjectModify
fn clone(&self) -> ProjectModify
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 ProjectModify
impl Debug for ProjectModify
Source§impl<'de> Deserialize<'de> for ProjectModify
impl<'de> Deserialize<'de> for ProjectModify
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
impl Eq for ProjectModify
Source§impl PartialEq for ProjectModify
impl PartialEq for ProjectModify
Source§impl Serialize for ProjectModify
impl Serialize for ProjectModify
impl StructuralPartialEq for ProjectModify
Auto Trait Implementations§
impl Freeze for ProjectModify
impl RefUnwindSafe for ProjectModify
impl Send for ProjectModify
impl Sync for ProjectModify
impl Unpin for ProjectModify
impl UnsafeUnpin for ProjectModify
impl UnwindSafe for ProjectModify
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.