pub enum ReadOnlyAccountRequest {
GetOwner {
responder: ReadOnlyAccountGetOwnerResponder,
},
GetBalance {
responder: ReadOnlyAccountGetBalanceResponder,
},
}
Expand description
Provides read-only access to a bank account.
Variants§
GetOwner
Returns the bank account owner’s name.
Fields
§
responder: ReadOnlyAccountGetOwnerResponder
GetBalance
Returns the bank account’s current balance in cents.
Fields
§
responder: ReadOnlyAccountGetBalanceResponder
Implementations§
Source§impl ReadOnlyAccountRequest
impl ReadOnlyAccountRequest
pub fn into_get_owner(self) -> Option<ReadOnlyAccountGetOwnerResponder>
pub fn into_get_balance(self) -> Option<ReadOnlyAccountGetBalanceResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadOnlyAccountRequest
impl !RefUnwindSafe for ReadOnlyAccountRequest
impl Send for ReadOnlyAccountRequest
impl Sync for ReadOnlyAccountRequest
impl Unpin for ReadOnlyAccountRequest
impl !UnwindSafe for ReadOnlyAccountRequest
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