#[non_exhaustive]pub struct TopicPublication {
pub published: bool,
pub url: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.published: bool§url: Option<String>The public link, when published
Trait Implementations§
Source§impl Clone for TopicPublication
impl Clone for TopicPublication
Source§fn clone(&self) -> TopicPublication
fn clone(&self) -> TopicPublication
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 TopicPublication
impl Debug for TopicPublication
Source§impl Default for TopicPublication
impl Default for TopicPublication
Source§fn default() -> TopicPublication
fn default() -> TopicPublication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopicPublication
impl<'de> Deserialize<'de> for TopicPublication
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 TopicPublication
impl PartialEq for TopicPublication
Source§impl Serialize for TopicPublication
impl Serialize for TopicPublication
impl StructuralPartialEq for TopicPublication
Auto Trait Implementations§
impl Freeze for TopicPublication
impl RefUnwindSafe for TopicPublication
impl Send for TopicPublication
impl Sync for TopicPublication
impl Unpin for TopicPublication
impl UnsafeUnpin for TopicPublication
impl UnwindSafe for TopicPublication
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