pub struct LinkThingsContent {
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 LinkThingsContent
impl LinkThingsContent
pub fn new(type: String, device_id: String) -> LinkThingsContent
Trait Implementations§
Source§impl Clone for LinkThingsContent
impl Clone for LinkThingsContent
Source§fn clone(&self) -> LinkThingsContent
fn clone(&self) -> LinkThingsContent
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 LinkThingsContent
impl Debug for LinkThingsContent
Source§impl Default for LinkThingsContent
impl Default for LinkThingsContent
Source§fn default() -> LinkThingsContent
fn default() -> LinkThingsContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinkThingsContent
impl<'de> Deserialize<'de> for LinkThingsContent
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 LinkThingsContent
impl PartialEq for LinkThingsContent
Source§impl Serialize for LinkThingsContent
impl Serialize for LinkThingsContent
impl StructuralPartialEq for LinkThingsContent
Auto Trait Implementations§
impl Freeze for LinkThingsContent
impl RefUnwindSafe for LinkThingsContent
impl Send for LinkThingsContent
impl Sync for LinkThingsContent
impl Unpin for LinkThingsContent
impl UnwindSafe for LinkThingsContent
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