pub struct Req<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> {
pub info: Info,
pub required: bool,
}Fields§
§info: Info§required: boolImplementations§
Trait Implementations§
source§impl<Info: Clone + StrictType + StrictEncode + StrictDecode + StrictDumb> Clone for Req<Info>
impl<Info: Clone + StrictType + StrictEncode + StrictDecode + StrictDumb> Clone for Req<Info>
source§impl<Info: Debug + StrictType + StrictEncode + StrictDecode + StrictDumb> Debug for Req<Info>
impl<Info: Debug + StrictType + StrictEncode + StrictDecode + StrictDumb> Debug for Req<Info>
source§impl<'de, Info> Deserialize<'de> for Req<Info>where
Info: Deserialize<'de> + StrictType + StrictEncode + StrictDecode + StrictDumb,
impl<'de, Info> Deserialize<'de> for Req<Info>where Info: Deserialize<'de> + StrictType + StrictEncode + StrictDecode + StrictDumb,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<Info: Hash + StrictType + StrictEncode + StrictDecode + StrictDumb> Hash for Req<Info>
impl<Info: Hash + StrictType + StrictEncode + StrictDecode + StrictDumb> Hash for Req<Info>
source§impl<Info: PartialEq + StrictType + StrictEncode + StrictDecode + StrictDumb> PartialEq<Req<Info>> for Req<Info>
impl<Info: PartialEq + StrictType + StrictEncode + StrictDecode + StrictDumb> PartialEq<Req<Info>> for Req<Info>
source§impl<Info> Serialize for Req<Info>where
Info: Serialize + StrictType + StrictEncode + StrictDecode + StrictDumb,
impl<Info> Serialize for Req<Info>where Info: Serialize + StrictType + StrictEncode + StrictDecode + StrictDumb,
source§impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictDecode for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictDecode for Req<Info>
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
source§impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictDumb for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictDumb for Req<Info>
fn strict_dumb() -> Self
source§impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictEncode for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictEncode for Req<Info>
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
source§impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictStruct for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictStruct for Req<Info>
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictType for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictType for Req<Info>
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
impl<Info: Eq + StrictType + StrictEncode + StrictDecode + StrictDumb> Eq for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StrictProduct for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StructuralEq for Req<Info>
impl<Info: StrictType + StrictEncode + StrictDecode + StrictDumb> StructuralPartialEq for Req<Info>
Auto Trait Implementations§
impl<Info> RefUnwindSafe for Req<Info>where Info: RefUnwindSafe,
impl<Info> Send for Req<Info>where Info: Send,
impl<Info> Sync for Req<Info>where Info: Sync,
impl<Info> Unpin for Req<Info>where Info: Unpin,
impl<Info> UnwindSafe for Req<Info>where Info: UnwindSafe,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.