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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)