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 for TStructIdentifier
impl PartialEq for TStructIdentifier
impl Eq for TStructIdentifier
impl StructuralPartialEq for TStructIdentifier
Auto Trait Implementations§
impl Freeze for TStructIdentifier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)