Struct iotdb_client::client::common::TFile
source · pub struct TFile {
pub file_name: String,
pub file: Vec<u8>,
}
Fields§
§file_name: String
§file: Vec<u8>
Implementations§
source§impl TFile
impl TFile
pub fn new(file_name: String, file: Vec<u8>) -> TFile
pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> Result<TFile>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol ) -> Result<()>
Trait Implementations§
source§impl Ord for TFile
impl Ord for TFile
source§impl PartialEq for TFile
impl PartialEq for TFile
source§impl PartialOrd for TFile
impl PartialOrd for TFile
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TFile
impl StructuralPartialEq for TFile
Auto Trait Implementations§
impl Freeze for TFile
impl RefUnwindSafe for TFile
impl Send for TFile
impl Sync for TFile
impl Unpin for TFile
impl UnwindSafe for TFile
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