pub struct DynamicTopic {
pub id: u64,
pub name: String,
pub from_source: Option<String>,
pub from_topic_id: Option<u64>,
}
Expand description
动态话题
Fields§
§id: u64
话题 ID
name: String
话题名
from_source: Option<String>
来源,非必要
from_topic_id: Option<u64>
来源话题 ID,非必要
Trait Implementations§
Source§impl Clone for DynamicTopic
impl Clone for DynamicTopic
Source§fn clone(&self) -> DynamicTopic
fn clone(&self) -> DynamicTopic
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 DynamicTopic
impl Debug for DynamicTopic
Source§impl<'de> Deserialize<'de> for DynamicTopic
impl<'de> Deserialize<'de> for DynamicTopic
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
Auto Trait Implementations§
impl Freeze for DynamicTopic
impl RefUnwindSafe for DynamicTopic
impl Send for DynamicTopic
impl Sync for DynamicTopic
impl Unpin for DynamicTopic
impl UnwindSafe for DynamicTopic
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