pub enum IntlWisdomServer_Request {
AskForWisdom {
intl_profile: Profile,
timestamp_ms: i64,
responder: IntlWisdomServer_AskForWisdomResponder,
},
}
Expand description
Interface for a service that, given a fuchsia.intl.Profile
and some basic parameters, can
provide pithy strings of wisdom to demonstrate the use of Profile
.
Variants§
AskForWisdom
Asks for a wisdom string.
Params: intl_profile: Provides the i18n context for the request timestamp_ms: Timestamp in milliseconds since the epoch. Used as an input for the wisdom text.
Implementations§
Source§impl IntlWisdomServer_Request
impl IntlWisdomServer_Request
pub fn into_ask_for_wisdom( self, ) -> Option<(Profile, i64, IntlWisdomServer_AskForWisdomResponder)>
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 IntlWisdomServer_Request
impl !RefUnwindSafe for IntlWisdomServer_Request
impl Send for IntlWisdomServer_Request
impl Sync for IntlWisdomServer_Request
impl Unpin for IntlWisdomServer_Request
impl !UnwindSafe for IntlWisdomServer_Request
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