pub struct SettingSearchResult {
pub version: Option<String>,
pub setting_items: Option<Vec<SettingItem>>,
}
Fields
version: Option<String>
setting_items: Option<Vec<SettingItem>>
Implementations
sourceimpl SettingSearchResult
impl SettingSearchResult
pub fn new<F1, F2>(version: F1, setting_items: F2) -> SettingSearchResultwhere
F1: Into<Option<String>>,
F2: Into<Option<Vec<SettingItem>>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<SettingSearchResult>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
sourceimpl Clone for SettingSearchResult
impl Clone for SettingSearchResult
sourcefn clone(&self) -> SettingSearchResult
fn clone(&self) -> SettingSearchResult
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 SettingSearchResult
impl Debug for SettingSearchResult
sourceimpl Default for SettingSearchResult
impl Default for SettingSearchResult
sourceimpl Hash for SettingSearchResult
impl Hash for SettingSearchResult
sourceimpl Ord for SettingSearchResult
impl Ord for SettingSearchResult
sourcefn cmp(&self, other: &SettingSearchResult) -> Ordering
fn cmp(&self, other: &SettingSearchResult) -> 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<SettingSearchResult> for SettingSearchResult
impl PartialEq<SettingSearchResult> for SettingSearchResult
sourcefn eq(&self, other: &SettingSearchResult) -> bool
fn eq(&self, other: &SettingSearchResult) -> bool
sourceimpl PartialOrd<SettingSearchResult> for SettingSearchResult
impl PartialOrd<SettingSearchResult> for SettingSearchResult
sourcefn partial_cmp(&self, other: &SettingSearchResult) -> Option<Ordering>
fn partial_cmp(&self, other: &SettingSearchResult) -> 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 SettingSearchResult
impl StructuralEq for SettingSearchResult
impl StructuralPartialEq for SettingSearchResult
Auto Trait Implementations
impl RefUnwindSafe for SettingSearchResult
impl Send for SettingSearchResult
impl Sync for SettingSearchResult
impl Unpin for SettingSearchResult
impl UnwindSafe for SettingSearchResult
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