pub struct PtrConfig {
pub non_null_attribute: Option<String>,
}
Expand description
Settings to apply to pointers
Fields§
§non_null_attribute: Option<String>
Optional attribute to apply to pointers that are required to not be null
Trait Implementations§
source§impl<'de> Deserialize<'de> for PtrConfigwhere
PtrConfig: Default,
impl<'de> Deserialize<'de> for PtrConfigwhere PtrConfig: Default,
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
Auto Trait Implementations§
impl RefUnwindSafe for PtrConfig
impl Send for PtrConfig
impl Sync for PtrConfig
impl Unpin for PtrConfig
impl UnwindSafe for PtrConfig
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