pub struct Arg {
pub name: String,
pub nullable: bool,
pub ty: DataType,
pub interface: Option<String>,
pub enumeration: Option<String>,
pub summary: Option<String>,
}Fields§
§name: String§nullable: bool§ty: DataType§interface: Option<String>§enumeration: Option<String>§summary: Option<String>Implementations§
Source§impl Arg
impl Arg
pub fn getter(&self, stream: &Ident) -> TokenStream
pub fn sender(&self, stream: &Ident) -> TokenStream
pub fn ty(&self) -> TokenStream
pub fn send_ty(&self) -> TokenStream
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Arg
impl<'de> Deserialize<'de> for Arg
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 Freeze for Arg
impl RefUnwindSafe for Arg
impl Send for Arg
impl Sync for Arg
impl Unpin for Arg
impl UnwindSafe for Arg
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