pub struct PowerPanel {Show 15 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub site: Box<BriefSite>,
pub location: Option<Option<Box<BriefLocation>>>,
pub name: String,
pub description: Option<String>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub powerfeed_count: Option<i64>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
PowerPanel : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§site: Box<BriefSite>§location: Option<Option<Box<BriefLocation>>>§name: String§description: Option<String>§owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§powerfeed_count: Option<i64>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl PowerPanel
impl PowerPanel
Sourcepub fn new(site: BriefSite, name: String) -> PowerPanel
pub fn new(site: BriefSite, name: String) -> PowerPanel
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for PowerPanel
impl Clone for PowerPanel
Source§fn clone(&self) -> PowerPanel
fn clone(&self) -> PowerPanel
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 PowerPanel
impl Debug for PowerPanel
Source§impl Default for PowerPanel
impl Default for PowerPanel
Source§fn default() -> PowerPanel
fn default() -> PowerPanel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerPanel
impl<'de> Deserialize<'de> for PowerPanel
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 PowerPanel
impl PartialEq for PowerPanel
Source§fn eq(&self, other: &PowerPanel) -> bool
fn eq(&self, other: &PowerPanel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PowerPanel
impl Serialize for PowerPanel
impl StructuralPartialEq for PowerPanel
Auto Trait Implementations§
impl Freeze for PowerPanel
impl RefUnwindSafe for PowerPanel
impl Send for PowerPanel
impl Sync for PowerPanel
impl Unpin for PowerPanel
impl UnsafeUnpin for PowerPanel
impl UnwindSafe for PowerPanel
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