pub struct MenuProperty {
pub label: Option<String>,
pub icon_name: Option<String>,
pub enabled: Option<bool>,
pub toggle_type: Option<ToggleType>,
pub toggle_state: Option<ToggleState>,
pub children_display: Option<String>,
}Expand description
Specified options for a [Screencast::create_session] request.
Fields§
§label: Option<String>§icon_name: Option<String>§enabled: Option<bool>§toggle_type: Option<ToggleType>§toggle_state: Option<ToggleState>§children_display: Option<String>Implementations§
Source§impl MenuProperty
impl MenuProperty
Source§impl MenuProperty
impl MenuProperty
Trait Implementations§
Source§impl Clone for MenuProperty
impl Clone for MenuProperty
Source§fn clone(&self) -> MenuProperty
fn clone(&self) -> MenuProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MenuProperty
impl Debug for MenuProperty
Source§impl Default for MenuProperty
impl Default for MenuProperty
Source§fn default() -> MenuProperty
fn default() -> MenuProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MenuProperty
impl<'de> Deserialize<'de> for MenuProperty
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
Source§impl From<MenuProperty> for Value<'static>
impl From<MenuProperty> for Value<'static>
Source§fn from(s: MenuProperty) -> Self
fn from(s: MenuProperty) -> Self
Converts to this type from the input type.
Source§impl Serialize for MenuProperty
impl Serialize for MenuProperty
Source§impl TryFrom<MenuProperty> for OwnedValue
impl TryFrom<MenuProperty> for OwnedValue
Source§impl TryFrom<OwnedValue> for MenuProperty
impl TryFrom<OwnedValue> for MenuProperty
Source§impl TryFrom<Value<'static>> for MenuProperty
impl TryFrom<Value<'static>> for MenuProperty
Auto Trait Implementations§
impl Freeze for MenuProperty
impl RefUnwindSafe for MenuProperty
impl Send for MenuProperty
impl Sync for MenuProperty
impl Unpin for MenuProperty
impl UnsafeUnpin for MenuProperty
impl UnwindSafe for MenuProperty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.