pub struct RevokeObject {
pub message_id: Id,
pub object_type: RevokableObjects,
pub object_id: Id,
}Expand description
Withdraws an object the sender published earlier.
Fields§
§message_id: IdThis message’s identifier.
object_type: RevokableObjectsThe kind of object being withdrawn.
object_id: IdWhich one.
Implementations§
Source§impl RevokeObject
impl RevokeObject
Sourcepub fn builder() -> RevokeObjectBuilder
pub fn builder() -> RevokeObjectBuilder
Create an instance of RevokeObject using the builder syntax
Trait Implementations§
Source§impl Clone for RevokeObject
impl Clone for RevokeObject
Source§impl Debug for RevokeObject
impl Debug for RevokeObject
Source§impl<'de> Deserialize<'de> for RevokeObject
impl<'de> Deserialize<'de> for RevokeObject
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 From<RevokeObject> for Message
impl From<RevokeObject> for Message
Source§fn from(value: RevokeObject) -> Self
fn from(value: RevokeObject) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RevokeObject
impl PartialEq for RevokeObject
Source§impl Serialize for RevokeObject
impl Serialize for RevokeObject
impl StructuralPartialEq for RevokeObject
Auto Trait Implementations§
impl Forget for RevokeObject
impl Freeze for RevokeObject
impl RefUnwindSafe for RevokeObject
impl Send for RevokeObject
impl Sync for RevokeObject
impl Unpin for RevokeObject
impl UnsafeUnpin for RevokeObject
impl UnwindSafe for RevokeObject
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