Struct restq::ast::ExprRename
source · pub struct ExprRename {
pub expr: Expr,
pub rename: Option<String>,
}
Fields§
§expr: Expr
§rename: Option<String>
Trait Implementations§
source§impl Clone for ExprRename
impl Clone for ExprRename
source§fn clone(&self) -> ExprRename
fn clone(&self) -> ExprRename
Returns a copy 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 ExprRename
impl Debug for ExprRename
source§impl<'de> Deserialize<'de> for ExprRename
impl<'de> Deserialize<'de> for ExprRename
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 Display for ExprRename
impl Display for ExprRename
source§impl PartialEq for ExprRename
impl PartialEq for ExprRename
source§fn eq(&self, other: &ExprRename) -> bool
fn eq(&self, other: &ExprRename) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExprRename
impl Serialize for ExprRename
impl StructuralPartialEq for ExprRename
Auto Trait Implementations§
impl Freeze for ExprRename
impl RefUnwindSafe for ExprRename
impl Send for ExprRename
impl Sync for ExprRename
impl Unpin for ExprRename
impl UnwindSafe for ExprRename
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