pub struct Method {
pub oneway: bool,
pub name: String,
pub return_type: Type,
pub args: Vec<Arg>,
pub annotations: Vec<Annotation>,
pub transact_code: Option<u32>,
pub doc: Option<String>,
pub symbol_range: Range,
pub full_range: Range,
pub transact_code_range: Range,
pub oneway_range: Range,
}
Fields§
§oneway: bool
§name: String
§return_type: Type
§args: Vec<Arg>
§annotations: Vec<Annotation>
§transact_code: Option<u32>
§doc: Option<String>
§symbol_range: Range
§full_range: Range
§transact_code_range: Range
§oneway_range: Range
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Method
impl<'de> Deserialize<'de> for Method
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 Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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