pub struct CapturedText {
pub text: String,
pub truncated: bool,
}Fields§
§text: String§truncated: boolImplementations§
Trait Implementations§
Source§impl Clone for CapturedText
impl Clone for CapturedText
Source§impl Debug for CapturedText
impl Debug for CapturedText
Source§impl Default for CapturedText
impl Default for CapturedText
Source§impl<'de> Deserialize<'de> for CapturedText
impl<'de> Deserialize<'de> for CapturedText
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
impl Eq for CapturedText
Source§impl JsonSchema for CapturedText
impl JsonSchema for CapturedText
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CapturedText
impl PartialEq for CapturedText
Source§impl Serialize for CapturedText
impl Serialize for CapturedText
impl StructuralPartialEq for CapturedText
Auto Trait Implementations§
impl Forget for CapturedText
impl Freeze for CapturedText
impl Move for CapturedText
impl RefUnwindSafe for CapturedText
impl Send for CapturedText
impl Sync for CapturedText
impl Unpin for CapturedText
impl UnsafeUnpin for CapturedText
impl UnwindSafe for CapturedText
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