Struct thrift::protocol::TStructIdentifier
source · pub struct TStructIdentifier {
pub name: String,
}
Expand description
Thrift struct identifier.
Fields§
§name: String
Name of the encoded Thrift struct.
Implementations§
source§impl TStructIdentifier
impl TStructIdentifier
sourcepub fn new<S: Into<String>>(name: S) -> TStructIdentifier
pub fn new<S: Into<String>>(name: S) -> TStructIdentifier
Create a TStructIdentifier
for a struct named name
.
Trait Implementations§
source§impl Clone for TStructIdentifier
impl Clone for TStructIdentifier
source§fn clone(&self) -> TStructIdentifier
fn clone(&self) -> TStructIdentifier
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 more