pub enum PhpType {
Named(String),
Nullable(Box<PhpType>),
Union(Vec<PhpType>),
}Expand description
PHP 类型
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PhpType
impl<'de> Deserialize<'de> for PhpType
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 StructuralPartialEq for PhpType
Auto Trait Implementations§
impl Freeze for PhpType
impl RefUnwindSafe for PhpType
impl Send for PhpType
impl Sync for PhpType
impl Unpin for PhpType
impl UnwindSafe for PhpType
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