Struct cyfs_lib::SelectOption
source · [−]Fields
page_size: u16page_index: u16Trait Implementations
sourceimpl Clone for SelectOption
impl Clone for SelectOption
sourcefn clone(&self) -> SelectOption
fn clone(&self) -> SelectOption
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 more
sourceimpl Debug for SelectOption
impl Debug for SelectOption
sourceimpl Default for SelectOption
impl Default for SelectOption
sourceimpl Display for SelectOption
impl Display for SelectOption
sourceimpl From<NamedObjectCacheSelectObjectOption> for SelectOption
impl From<NamedObjectCacheSelectObjectOption> for SelectOption
sourcefn from(opt: NamedObjectCacheSelectObjectOption) -> Self
fn from(opt: NamedObjectCacheSelectObjectOption) -> Self
Converts to this type from the input type.
sourceimpl JsonCodec<SelectOption> for SelectOption
impl JsonCodec<SelectOption> for SelectOption
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<SelectOption>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
sourceimpl TryFrom<&'_ SelectOption> for NamedObjectCacheSelectObjectOption
impl TryFrom<&'_ SelectOption> for NamedObjectCacheSelectObjectOption
type Error = BuckyError
type Error = BuckyError
The type returned in the event of a conversion error.
sourcefn try_from(opt: &SelectOption) -> Result<Self, Self::Error>
fn try_from(opt: &SelectOption) -> Result<Self, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SelectOption
impl Send for SelectOption
impl Sync for SelectOption
impl Unpin for SelectOption
impl UnwindSafe for SelectOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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