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
sourceimpl 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
sourceimpl Clone for TStructIdentifier
impl Clone for TStructIdentifier
sourcefn clone(&self) -> TStructIdentifier
fn clone(&self) -> TStructIdentifier
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 more
sourceimpl Debug for TStructIdentifier
impl Debug for TStructIdentifier
sourceimpl PartialEq<TStructIdentifier> for TStructIdentifier
impl PartialEq<TStructIdentifier> for TStructIdentifier
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TStructIdentifier) -> bool
fn ne(&self, other: &TStructIdentifier) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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