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 moresource§impl Debug for TStructIdentifier
impl Debug for TStructIdentifier
source§impl PartialEq<TStructIdentifier> for TStructIdentifier
impl PartialEq<TStructIdentifier> for TStructIdentifier
source§fn eq(&self, other: &TStructIdentifier) -> bool
fn eq(&self, other: &TStructIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TStructIdentifier
impl StructuralEq for TStructIdentifier
impl StructuralPartialEq for TStructIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for TStructIdentifier
impl Send for TStructIdentifier
impl Sync for TStructIdentifier
impl Unpin for TStructIdentifier
impl UnwindSafe for TStructIdentifier
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