Struct azure_devops_rust_api::dashboard::models::LightboxOptions
source · pub struct LightboxOptions {
pub height: Option<i32>,
pub resizable: Option<bool>,
pub width: Option<i32>,
}Expand description
Lightbox configuration
Fields§
§height: Option<i32>Height of desired lightbox, in pixels
resizable: Option<bool>Set to true to allow lightbox resizing, false to disallow lightbox resizing, defaults to false.
width: Option<i32>Width of desired lightbox, in pixels
Implementations§
Trait Implementations§
source§impl Clone for LightboxOptions
impl Clone for LightboxOptions
source§fn clone(&self) -> LightboxOptions
fn clone(&self) -> LightboxOptions
Returns a copy 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 LightboxOptions
impl Debug for LightboxOptions
source§impl Default for LightboxOptions
impl Default for LightboxOptions
source§fn default() -> LightboxOptions
fn default() -> LightboxOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LightboxOptions
impl<'de> Deserialize<'de> for LightboxOptions
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 PartialEq for LightboxOptions
impl PartialEq for LightboxOptions
source§fn eq(&self, other: &LightboxOptions) -> bool
fn eq(&self, other: &LightboxOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LightboxOptions
impl Serialize for LightboxOptions
impl StructuralPartialEq for LightboxOptions
Auto Trait Implementations§
impl Freeze for LightboxOptions
impl RefUnwindSafe for LightboxOptions
impl Send for LightboxOptions
impl Sync for LightboxOptions
impl Unpin for LightboxOptions
impl UnwindSafe for LightboxOptions
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