Struct cyfs_core::TextContent
source · [−]pub struct TextContent { /* private fields */ }Implementations
Trait Implementations
sourceimpl BodyContent for TextContent
impl BodyContent for TextContent
sourceimpl Clone for TextContent
impl Clone for TextContent
sourcefn clone(&self) -> TextContent
fn clone(&self) -> TextContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TextContent
impl Debug for TextContent
sourceimpl ProtobufTransform<&'_ TextContent> for TextContent
impl ProtobufTransform<&'_ TextContent> for TextContent
fn transform(_value_: &TextContent) -> BuckyResult<Self>
sourceimpl ProtobufTransform<&'_ TextContent> for Option<TextContent>
impl ProtobufTransform<&'_ TextContent> for Option<TextContent>
fn transform(_value_: &TextContent) -> BuckyResult<Self>
sourceimpl ProtobufTransform<Option<TextContent>> for TextContent
impl ProtobufTransform<Option<TextContent>> for TextContent
fn transform(_value_: Option<TextContent>) -> BuckyResult<Self>
sourceimpl ProtobufTransform<TextContent> for TextContent
impl ProtobufTransform<TextContent> for TextContent
fn transform(_value_: TextContent) -> BuckyResult<Self>
sourceimpl<'__de__> RawDecode<'__de__> for TextContent
impl<'__de__> RawDecode<'__de__> for TextContent
fn raw_decode(__buf__: &'__de__ [u8]) -> BuckyResult<(Self, &'__de__ [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> Result<(Self, &'de [u8]), BuckyError>
sourceimpl RawEncode for TextContent
impl RawEncode for TextContent
fn raw_encode<'__de__>(
&self,
__buf__: &'__de__ mut [u8],
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<&'__de__ mut [u8]>
fn raw_measure(
&self,
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<usize>
fn raw_tail_encode(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> Result<&'a [u8], BuckyError>
fn raw_encode_to_buffer(&self) -> Result<Vec<u8, Global>, BuckyError>
fn raw_hash_value(&self) -> Result<HashValue, BuckyError>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> Result<Vec<u8, Global>, BuckyError>
sourceimpl Serialize for TextContent
impl Serialize for TextContent
impl ObjectFormatAutoWithSerde for TextContent
Auto Trait Implementations
impl RefUnwindSafe for TextContent
impl Send for TextContent
impl Sync for TextContent
impl Unpin for TextContent
impl UnwindSafe for TextContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more