[−]Enum matrix_sdk_common::push::PushFormat
A special format that the homeserver should use when sending notifications to a Push Gateway. Currently, only "event_id_only" is supported as of Push Gateway API r0.1.1.
Variants
Require the homeserver to only send a reduced set of fields in the push.
Trait Implementations
impl AsRef<str> for PushFormat
impl Clone for PushFormat
pub fn clone(&self) -> PushFormat
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PushFormat
impl<'de> Deserialize<'de> for PushFormat
pub fn deserialize<D>(
deserializer: D
) -> Result<PushFormat, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
deserializer: D
) -> Result<PushFormat, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Display for PushFormat
impl Eq for PushFormat
impl<T> From<T> for PushFormat where
T: AsRef<str> + Into<String>,
T: AsRef<str> + Into<String>,
pub fn from(s: T) -> PushFormat
impl PartialEq<PushFormat> for PushFormat
pub fn eq(&self, other: &PushFormat) -> bool
pub fn ne(&self, other: &PushFormat) -> bool
impl Serialize for PushFormat
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl StructuralEq for PushFormat
impl StructuralPartialEq for PushFormat
Auto Trait Implementations
impl RefUnwindSafe for PushFormat[src]
impl Send for PushFormat[src]
impl Sync for PushFormat[src]
impl Unpin for PushFormat[src]
impl UnwindSafe for PushFormat[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsyncTraitDeps for T where
T: Send + Sync + Debug, [src]
T: Send + Sync + Debug,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,