pub struct RedirectedStatement {
pub span: Span,
pub body: Option<Box<Statement>>,
pub redirects: Vec<Redirect>,
pub bare_herestring: Option<HerestringRedirect>,
}Fields§
§span: Span§body: Option<Box<Statement>>§redirects: Vec<Redirect>§bare_herestring: Option<HerestringRedirect>A bare herestring redirect that appears as a direct child (no body).
Trait Implementations§
Source§impl Clone for RedirectedStatement
impl Clone for RedirectedStatement
Source§fn clone(&self) -> RedirectedStatement
fn clone(&self) -> RedirectedStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RedirectedStatement
impl Debug for RedirectedStatement
Source§impl<'de> Deserialize<'de> for RedirectedStatement
impl<'de> Deserialize<'de> for RedirectedStatement
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 RedirectedStatement
impl PartialEq for RedirectedStatement
Source§impl Serialize for RedirectedStatement
impl Serialize for RedirectedStatement
impl StructuralPartialEq for RedirectedStatement
Auto Trait Implementations§
impl Freeze for RedirectedStatement
impl RefUnwindSafe for RedirectedStatement
impl Send for RedirectedStatement
impl Sync for RedirectedStatement
impl Unpin for RedirectedStatement
impl UnsafeUnpin for RedirectedStatement
impl UnwindSafe for RedirectedStatement
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