pub struct AlertInput {
pub points: Vec<Point>,
pub text1: String,
pub text2: String,
pub text3: String,
}
Expand description
Alert input struct
Fields§
§points: Vec<Point>
§text1: String
§text2: String
§text3: String
Trait Implementations§
Source§impl InputType for AlertInput
impl InputType for AlertInput
Source§type RawValueType = AlertInput
type RawValueType = AlertInput
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value
. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl InputObjectType for AlertInput
Auto Trait Implementations§
impl Freeze for AlertInput
impl RefUnwindSafe for AlertInput
impl Send for AlertInput
impl Sync for AlertInput
impl Unpin for AlertInput
impl UnwindSafe for AlertInput
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