#[non_exhaustive]pub struct LongString {
pub is_truncated: Option<bool>,
pub untruncated_size: Option<i64>,
pub value: Option<String>,
}Expand description
Long String
This object is a used to capture strings which may be truncated by a security product due to their length.
[] Category: | Name: long_string
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.is_truncated: Option<bool>Is Truncated
Indicates that value has been truncated. May be omitted if truncation has not occurred.
optional
untruncated_size: Option<i64>Untruncated Size
The size in bytes of the string represented by value before truncation. Should be omitted if truncation has not occurred.
optional
value: Option<String>Value
The string value, truncated if is_truncated is true.
required
Trait Implementations§
Source§impl Clone for LongString
impl Clone for LongString
Source§fn clone(&self) -> LongString
fn clone(&self) -> LongString
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 LongString
impl Debug for LongString
Source§impl Default for LongString
impl Default for LongString
Source§fn default() -> LongString
fn default() -> LongString
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LongStringwhere
LongString: Default,
impl<'de> Deserialize<'de> for LongStringwhere
LongString: Default,
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 LongString
impl PartialEq for LongString
Source§impl Serialize for LongString
impl Serialize for LongString
impl StructuralPartialEq for LongString
Auto Trait Implementations§
impl Freeze for LongString
impl RefUnwindSafe for LongString
impl Send for LongString
impl Sync for LongString
impl Unpin for LongString
impl UnwindSafe for LongString
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