pub struct Sns {
pub body: String,
pub url: String,
}
Fields§
§body: String
§url: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sns
impl<'de> Deserialize<'de> for Sns
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<'a> MessageRead<'a> for Sns
impl<'a> MessageRead<'a> for Sns
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Sns
impl MessageWrite for Sns
impl StructuralPartialEq for Sns
Auto Trait Implementations§
impl Freeze for Sns
impl RefUnwindSafe for Sns
impl Send for Sns
impl Sync for Sns
impl Unpin for Sns
impl UnwindSafe for Sns
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