pub struct ListSizeDirective {
pub assumed_size: Option<u32>,
pub slicing_arguments: Vec<String>,
pub sized_fields: Vec<String>,
pub require_one_slicing_argument: bool,
}
Fields§
§assumed_size: Option<u32>
§slicing_arguments: Vec<String>
§sized_fields: Vec<String>
§require_one_slicing_argument: bool
Implementations§
Source§impl ListSizeDirective
impl ListSizeDirective
pub fn definition() -> &'static str
pub fn merge(self, other: ListSizeDirective) -> Self
Trait Implementations§
Source§impl Clone for ListSizeDirective
impl Clone for ListSizeDirective
Source§fn clone(&self) -> ListSizeDirective
fn clone(&self) -> ListSizeDirective
Returns a duplicate 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 ListSizeDirective
impl Debug for ListSizeDirective
Source§impl PartialEq for ListSizeDirective
impl PartialEq for ListSizeDirective
Source§impl PartialOrd for ListSizeDirective
impl PartialOrd for ListSizeDirective
Source§impl<'a> ValueDeserialize<'a> for ListSizeDirective
impl<'a> ValueDeserialize<'a> for ListSizeDirective
fn deserialize(input: DeserValue<'a>) -> Result<Self, Error>
Source§fn default_when_missing() -> Option<Self>
fn default_when_missing() -> Option<Self>
Provides a default in the case where a field of this type is missing
impl StructuralPartialEq for ListSizeDirective
Auto Trait Implementations§
impl Freeze for ListSizeDirective
impl RefUnwindSafe for ListSizeDirective
impl Send for ListSizeDirective
impl Sync for ListSizeDirective
impl Unpin for ListSizeDirective
impl UnwindSafe for ListSizeDirective
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more