Struct bosonnlp::ClusterContent
[−]
[src]
pub struct ClusterContent { pub _id: String, pub text: String, }
聚类任务单个输入内容
Fields
_id: String
文档编号
text: String
文档内容
Trait Implementations
impl Debug for ClusterContent
[src]
impl Clone for ClusterContent
[src]
fn clone(&self) -> ClusterContent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ClusterContent
[src]
fn eq(&self, __arg_0: &ClusterContent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClusterContent) -> bool
This method tests for !=
.
impl Eq for ClusterContent
[src]
impl Hash for ClusterContent
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl From<String> for ClusterContent
[src]
fn from(content: String) -> ClusterContent
Performs the conversion.
impl<'a> From<&'a str> for ClusterContent
[src]
fn from(content: &'a str) -> ClusterContent
Performs the conversion.