pub struct ModuleBaseInfo {
pub name: Option<String>,
pub version: Option<String>,
pub config_hash: Option<i32>,
}
Fields
name: Option<String>
version: Option<String>
config_hash: Option<i32>
Implementations
sourceimpl ModuleBaseInfo
impl ModuleBaseInfo
pub fn new<F1, F2, F3>(name: F1, version: F2, config_hash: F3) -> ModuleBaseInfowhere
F1: Into<Option<String>>,
F2: Into<Option<String>>,
F3: Into<Option<i32>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<ModuleBaseInfo>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
sourceimpl Clone for ModuleBaseInfo
impl Clone for ModuleBaseInfo
sourcefn clone(&self) -> ModuleBaseInfo
fn clone(&self) -> ModuleBaseInfo
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 moresourceimpl Debug for ModuleBaseInfo
impl Debug for ModuleBaseInfo
sourceimpl Default for ModuleBaseInfo
impl Default for ModuleBaseInfo
sourceimpl Hash for ModuleBaseInfo
impl Hash for ModuleBaseInfo
sourceimpl Ord for ModuleBaseInfo
impl Ord for ModuleBaseInfo
sourcefn cmp(&self, other: &ModuleBaseInfo) -> Ordering
fn cmp(&self, other: &ModuleBaseInfo) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ModuleBaseInfo> for ModuleBaseInfo
impl PartialEq<ModuleBaseInfo> for ModuleBaseInfo
sourcefn eq(&self, other: &ModuleBaseInfo) -> bool
fn eq(&self, other: &ModuleBaseInfo) -> bool
sourceimpl PartialOrd<ModuleBaseInfo> for ModuleBaseInfo
impl PartialOrd<ModuleBaseInfo> for ModuleBaseInfo
sourcefn partial_cmp(&self, other: &ModuleBaseInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleBaseInfo) -> Option<Ordering>
1.0.0 · sourcefn 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 ModuleBaseInfo
impl StructuralEq for ModuleBaseInfo
impl StructuralPartialEq for ModuleBaseInfo
Auto Trait Implementations
impl RefUnwindSafe for ModuleBaseInfo
impl Send for ModuleBaseInfo
impl Sync for ModuleBaseInfo
impl Unpin for ModuleBaseInfo
impl UnwindSafe for ModuleBaseInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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