pub struct RedactedEntity {
pub entity_type: String,
pub original: String,
pub start: usize,
pub end: usize,
}Fields§
§entity_type: String§original: String§start: usize§end: usizeTrait Implementations§
Source§impl Clone for RedactedEntity
impl Clone for RedactedEntity
Source§fn clone(&self) -> RedactedEntity
fn clone(&self) -> RedactedEntity
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 RedactedEntity
impl Debug for RedactedEntity
Source§impl<'de> Deserialize<'de> for RedactedEntity
impl<'de> Deserialize<'de> for RedactedEntity
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
Auto Trait Implementations§
impl Freeze for RedactedEntity
impl RefUnwindSafe for RedactedEntity
impl Send for RedactedEntity
impl Sync for RedactedEntity
impl Unpin for RedactedEntity
impl UnsafeUnpin for RedactedEntity
impl UnwindSafe for RedactedEntity
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