Struct bosonnlp::CommentsCluster
source · pub struct CommentsCluster {
pub _id: usize,
pub list: Vec<(String, String)>,
pub num: usize,
pub opinion: String,
}
Expand description
典型意见
Fields
_id: usize
该典型意见的标示
list: Vec<(String, String)>
所有属于该典型意见的评论
num: usize
该典型意见类似的意见个数
opinion: String
典型意见文本
Trait Implementations
sourceimpl Clone for CommentsCluster
impl Clone for CommentsCluster
sourcefn clone(&self) -> CommentsCluster
fn clone(&self) -> CommentsCluster
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CommentsCluster
impl Debug for CommentsCluster
sourceimpl<'de> Deserialize<'de> for CommentsCluster
impl<'de> Deserialize<'de> for CommentsCluster
sourcefn 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 RefUnwindSafe for CommentsCluster
impl Send for CommentsCluster
impl Sync for CommentsCluster
impl Unpin for CommentsCluster
impl UnwindSafe for CommentsCluster
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more