pub enum PhpCastType {
Int,
Float,
String,
Bool,
Array,
Object,
Unset,
}Expand description
PHP 类型转换类型
Variants§
Trait Implementations§
Source§impl Clone for PhpCastType
impl Clone for PhpCastType
Source§fn clone(&self) -> PhpCastType
fn clone(&self) -> PhpCastType
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 PhpCastType
impl Debug for PhpCastType
Source§impl<'de> Deserialize<'de> for PhpCastType
impl<'de> Deserialize<'de> for PhpCastType
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 PhpCastType
impl PartialEq for PhpCastType
Source§impl Serialize for PhpCastType
impl Serialize for PhpCastType
impl StructuralPartialEq for PhpCastType
Auto Trait Implementations§
impl Freeze for PhpCastType
impl RefUnwindSafe for PhpCastType
impl Send for PhpCastType
impl Sync for PhpCastType
impl Unpin for PhpCastType
impl UnwindSafe for PhpCastType
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