pub struct PhpArrayElement {
pub key: Option<PhpExpression>,
pub value: PhpExpression,
}Expand description
PHP 数组元素
Fields§
§key: Option<PhpExpression>§value: PhpExpressionTrait Implementations§
Source§impl Clone for PhpArrayElement
impl Clone for PhpArrayElement
Source§fn clone(&self) -> PhpArrayElement
fn clone(&self) -> PhpArrayElement
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 PhpArrayElement
impl Debug for PhpArrayElement
Source§impl<'de> Deserialize<'de> for PhpArrayElement
impl<'de> Deserialize<'de> for PhpArrayElement
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 PhpArrayElement
impl PartialEq for PhpArrayElement
Source§impl Serialize for PhpArrayElement
impl Serialize for PhpArrayElement
impl StructuralPartialEq for PhpArrayElement
Auto Trait Implementations§
impl Freeze for PhpArrayElement
impl RefUnwindSafe for PhpArrayElement
impl Send for PhpArrayElement
impl Sync for PhpArrayElement
impl Unpin for PhpArrayElement
impl UnwindSafe for PhpArrayElement
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