Struct tencentcloud_cls_sdk_rust::cls_log::mod_Log::Content
source · pub struct Content<'a> {
pub key: Cow<'a, str>,
pub value: Cow<'a, str>,
}
Fields§
§key: Cow<'a, str>
§value: Cow<'a, str>
Implementations§
Trait Implementations§
source§impl<'a> MessageRead<'a> for Content<'a>
impl<'a> MessageRead<'a> for Content<'a>
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<'a> MessageWrite for Content<'a>
impl<'a> MessageWrite for Content<'a>
source§impl<'a> PartialEq for Content<'a>
impl<'a> PartialEq for Content<'a>
impl<'a> StructuralPartialEq for Content<'a>
Auto Trait Implementations§
impl<'a> Freeze for Content<'a>
impl<'a> RefUnwindSafe for Content<'a>
impl<'a> Send for Content<'a>
impl<'a> Sync for Content<'a>
impl<'a> Unpin for Content<'a>
impl<'a> UnwindSafe for Content<'a>
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