Struct puffer::db::BoardMetadata
source · pub struct BoardMetadata {
pub owner: String,
pub is_private: String,
pub allow_anonymous: Option<String>,
pub allow_open_posting: Option<String>,
pub topic_required: Option<String>,
pub about: Option<String>,
pub tags: Option<String>,
}
Fields§
§owner: String
§is_private: String
§allow_anonymous: Option<String>
§allow_open_posting: Option<String>
§topic_required: Option<String>
§about: Option<String>
Trait Implementations§
source§impl Clone for BoardMetadata
impl Clone for BoardMetadata
source§fn clone(&self) -> BoardMetadata
fn clone(&self) -> BoardMetadata
Returns a copy 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 Default for BoardMetadata
impl Default for BoardMetadata
source§fn default() -> BoardMetadata
fn default() -> BoardMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BoardMetadata
impl<'de> Deserialize<'de> for BoardMetadata
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 BoardMetadata
impl PartialEq for BoardMetadata
source§fn eq(&self, other: &BoardMetadata) -> bool
fn eq(&self, other: &BoardMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BoardMetadata
impl Serialize for BoardMetadata
impl StructuralPartialEq for BoardMetadata
Auto Trait Implementations§
impl RefUnwindSafe for BoardMetadata
impl Send for BoardMetadata
impl Sync for BoardMetadata
impl Unpin for BoardMetadata
impl UnwindSafe for BoardMetadata
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