pub struct TagRemovedPayload {
pub event_time: TimeStamp,
pub tag_id: Uuid,
pub tag: String,
}
Expand description
TAG_REMOVED
ペイロード
§Example
use traq_bot_http::payloads::TagRemovedPayload;
let payload = r##"{
"eventTime": "2019-05-08T08:31:06.566228282Z",
"tagId": "2bc06cda-bdb9-4a68-8000-62f907f36a92",
"tag": "全強"
}"##;
let payload: TagRemovedPayload = payload.parse()?;
println!("{payload}");
Fields§
§event_time: TimeStamp
§tag_id: Uuid
§tag: String
Trait Implementations§
Source§impl Clone for TagRemovedPayload
impl Clone for TagRemovedPayload
Source§fn clone(&self) -> TagRemovedPayload
fn clone(&self) -> TagRemovedPayload
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 TagRemovedPayload
impl Debug for TagRemovedPayload
Source§impl<'de> Deserialize<'de> for TagRemovedPayload
impl<'de> Deserialize<'de> for TagRemovedPayload
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 Display for TagRemovedPayload
impl Display for TagRemovedPayload
Source§impl From<TagAddedPayload> for TagRemovedPayload
impl From<TagAddedPayload> for TagRemovedPayload
Source§fn from(payload: TagAddedPayload) -> Self
fn from(payload: TagAddedPayload) -> Self
Converts to this type from the input type.
Source§impl From<TagRemovedPayload> for Event
impl From<TagRemovedPayload> for Event
Source§fn from(event: TagRemovedPayload) -> Self
fn from(event: TagRemovedPayload) -> Self
Converts to this type from the input type.
Source§impl From<TagRemovedPayload> for TagAddedPayload
impl From<TagRemovedPayload> for TagAddedPayload
Source§fn from(payload: TagRemovedPayload) -> Self
fn from(payload: TagRemovedPayload) -> Self
Converts to this type from the input type.
Source§impl FromStr for TagRemovedPayload
impl FromStr for TagRemovedPayload
Source§impl PartialEq for TagRemovedPayload
impl PartialEq for TagRemovedPayload
Source§impl Serialize for TagRemovedPayload
impl Serialize for TagRemovedPayload
impl Eq for TagRemovedPayload
impl StructuralPartialEq for TagRemovedPayload
Auto Trait Implementations§
impl Freeze for TagRemovedPayload
impl RefUnwindSafe for TagRemovedPayload
impl Send for TagRemovedPayload
impl Sync for TagRemovedPayload
impl Unpin for TagRemovedPayload
impl UnwindSafe for TagRemovedPayload
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