pub struct PythonMethodDesc {
pub name: &'static str,
pub wire_raw: bool,
}Expand description
One method on the interface.
Fields§
§name: &'static strFunction name to look up in the Python plugin module.
wire_raw: boolWhether this method uses raw byte-passthrough wire mode
(#[wire(raw)]). Determines whether the dispatcher routes through
call_method_raw (raw bytes both sides) or call_method (typed
args via JSON conversion).
Trait Implementations§
Source§impl Clone for PythonMethodDesc
impl Clone for PythonMethodDesc
Source§fn clone(&self) -> PythonMethodDesc
fn clone(&self) -> PythonMethodDesc
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 PythonMethodDesc
impl Debug for PythonMethodDesc
impl Copy for PythonMethodDesc
Auto Trait Implementations§
impl Freeze for PythonMethodDesc
impl RefUnwindSafe for PythonMethodDesc
impl Send for PythonMethodDesc
impl Sync for PythonMethodDesc
impl Unpin for PythonMethodDesc
impl UnsafeUnpin for PythonMethodDesc
impl UnwindSafe for PythonMethodDesc
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