pub struct ProjectDeletable {
pub deletable: Option<bool>,
pub message: Option<String>,
}Fields§
§deletable: Option<bool>Whether the project can be deleted.
message: Option<String>The detail message when the project can not be deleted.
Implementations§
Source§impl ProjectDeletable
impl ProjectDeletable
pub fn new() -> ProjectDeletable
Trait Implementations§
Source§impl Clone for ProjectDeletable
impl Clone for ProjectDeletable
Source§fn clone(&self) -> ProjectDeletable
fn clone(&self) -> ProjectDeletable
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 ProjectDeletable
impl Debug for ProjectDeletable
Source§impl Default for ProjectDeletable
impl Default for ProjectDeletable
Source§fn default() -> ProjectDeletable
fn default() -> ProjectDeletable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectDeletable
impl<'de> Deserialize<'de> for ProjectDeletable
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 ProjectDeletable
impl PartialEq for ProjectDeletable
Source§impl Serialize for ProjectDeletable
impl Serialize for ProjectDeletable
impl StructuralPartialEq for ProjectDeletable
Auto Trait Implementations§
impl Freeze for ProjectDeletable
impl RefUnwindSafe for ProjectDeletable
impl Send for ProjectDeletable
impl Sync for ProjectDeletable
impl Unpin for ProjectDeletable
impl UnwindSafe for ProjectDeletable
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