pub struct BriefTenant {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub description: Option<String>,
}Expand description
BriefTenant : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§slug: String§description: Option<String>Implementations§
Source§impl BriefTenant
impl BriefTenant
Sourcepub fn new(name: String, slug: String) -> BriefTenant
pub fn new(name: String, slug: String) -> BriefTenant
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for BriefTenant
impl Clone for BriefTenant
Source§fn clone(&self) -> BriefTenant
fn clone(&self) -> BriefTenant
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 BriefTenant
impl Debug for BriefTenant
Source§impl Default for BriefTenant
impl Default for BriefTenant
Source§fn default() -> BriefTenant
fn default() -> BriefTenant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefTenant
impl<'de> Deserialize<'de> for BriefTenant
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 BriefTenant
impl PartialEq for BriefTenant
Source§impl Serialize for BriefTenant
impl Serialize for BriefTenant
impl StructuralPartialEq for BriefTenant
Auto Trait Implementations§
impl Freeze for BriefTenant
impl RefUnwindSafe for BriefTenant
impl Send for BriefTenant
impl Sync for BriefTenant
impl Unpin for BriefTenant
impl UnwindSafe for BriefTenant
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