pub struct UnlinkThingsContent {
pub type: Option<String>,
pub device_id: String,
}Fields§
§type: Option<String>Type
device_id: StringDevice ID of the device that has been linked with LINE.
Implementations§
Source§impl UnlinkThingsContent
impl UnlinkThingsContent
pub fn new(type: String, device_id: String) -> UnlinkThingsContent
Trait Implementations§
Source§impl Clone for UnlinkThingsContent
impl Clone for UnlinkThingsContent
Source§fn clone(&self) -> UnlinkThingsContent
fn clone(&self) -> UnlinkThingsContent
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 UnlinkThingsContent
impl Debug for UnlinkThingsContent
Source§impl Default for UnlinkThingsContent
impl Default for UnlinkThingsContent
Source§fn default() -> UnlinkThingsContent
fn default() -> UnlinkThingsContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnlinkThingsContent
impl<'de> Deserialize<'de> for UnlinkThingsContent
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 for UnlinkThingsContent
impl PartialEq for UnlinkThingsContent
Source§impl Serialize for UnlinkThingsContent
impl Serialize for UnlinkThingsContent
impl StructuralPartialEq for UnlinkThingsContent
Auto Trait Implementations§
impl Freeze for UnlinkThingsContent
impl RefUnwindSafe for UnlinkThingsContent
impl Send for UnlinkThingsContent
impl Sync for UnlinkThingsContent
impl Unpin for UnlinkThingsContent
impl UnwindSafe for UnlinkThingsContent
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