pub struct MethodCall {
pub connection: Connection,
pub path: String,
pub interface: Option<String>,
pub member: String,
pub args: Vec<Value>,
pub sender: Option<String>,
}Expand description
A method call delivered to an exported object.
Fields§
§connection: ConnectionThe connection the call arrived on, for emitting signals from a handler.
path: StringThe object path called.
interface: Option<String>The interface named by the caller, if any (it is optional in the protocol).
member: StringThe method name.
args: Vec<Value>The arguments.
sender: Option<String>The caller’s unique bus name.
Trait Implementations§
Source§impl Clone for MethodCall
impl Clone for MethodCall
Auto Trait Implementations§
impl !RefUnwindSafe for MethodCall
impl !UnwindSafe for MethodCall
impl Forget for MethodCall
impl Freeze for MethodCall
impl Send for MethodCall
impl Sync for MethodCall
impl Unpin for MethodCall
impl UnsafeUnpin for MethodCall
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