Struct traq_bot_http::payloads::TagRemovedPayload
source · 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 = serde_json::from_str(payload).unwrap();
println!("{payload:?}");Fields§
§event_time: TimeStamp§tag_id: Uuid§tag: StringTrait Implementations§
source§impl Clone for TagRemovedPayload
impl Clone for TagRemovedPayload
source§fn clone(&self) -> TagRemovedPayload
fn clone(&self) -> TagRemovedPayload
Returns a copy 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 PartialEq<TagRemovedPayload> for TagRemovedPayload
impl PartialEq<TagRemovedPayload> for TagRemovedPayload
source§fn eq(&self, other: &TagRemovedPayload) -> bool
fn eq(&self, other: &TagRemovedPayload) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TagRemovedPayload
impl Serialize for TagRemovedPayload
impl Eq for TagRemovedPayload
impl StructuralEq for TagRemovedPayload
impl StructuralPartialEq for TagRemovedPayload
Auto Trait Implementations§
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