pub(crate) struct Fields<'f> {
pub path: Option<ObjectPath<'f>>,
pub interface: Option<InterfaceName<'f>>,
pub member: Option<MemberName<'f>>,
pub error_name: Option<ErrorName<'f>>,
pub reply_serial: Option<NonZeroU32>,
pub destination: Option<BusName<'f>>,
pub sender: Option<UniqueName<'f>>,
pub signature: Cow<'f, Signature>,
pub unix_fds: Option<u32>,
}Expand description
A collection of Field instances.
Fields§
§path: Option<ObjectPath<'f>>§interface: Option<InterfaceName<'f>>§member: Option<MemberName<'f>>§error_name: Option<ErrorName<'f>>§reply_serial: Option<NonZeroU32>§destination: Option<BusName<'f>>§sender: Option<UniqueName<'f>>§signature: Cow<'f, Signature>§unix_fds: Option<u32>Implementations§
Trait Implementations§
Source§impl<'de: 'f, 'f> Deserialize<'de> for Fields<'f>
impl<'de: 'f, 'f> Deserialize<'de> for Fields<'f>
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
Auto Trait Implementations§
impl<'f> Freeze for Fields<'f>
impl<'f> RefUnwindSafe for Fields<'f>
impl<'f> Send for Fields<'f>
impl<'f> Sync for Fields<'f>
impl<'f> Unpin for Fields<'f>
impl<'f> UnwindSafe for Fields<'f>
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.