pub struct GetPropertiesParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GetPropertiesParamsBuilder<'a>
impl<'a> GetPropertiesParamsBuilder<'a>
Sourcepub fn own_properties(self, own_properties: bool) -> Self
pub fn own_properties(self, own_properties: bool) -> Self
If true, returns properties belonging only to the element itself, not to its prototype chain.
Sourcepub fn accessor_properties_only(self, accessor_properties_only: bool) -> Self
pub fn accessor_properties_only(self, accessor_properties_only: bool) -> Self
If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
Sourcepub fn generate_preview(self, generate_preview: bool) -> Self
pub fn generate_preview(self, generate_preview: bool) -> Self
Whether preview should be generated for the results.
Sourcepub fn non_indexed_properties_only(
self,
non_indexed_properties_only: bool,
) -> Self
pub fn non_indexed_properties_only( self, non_indexed_properties_only: bool, ) -> Self
If true, returns non-indexed properties only.
pub fn build(self) -> GetPropertiesParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetPropertiesParamsBuilder<'a>
impl<'a> RefUnwindSafe for GetPropertiesParamsBuilder<'a>
impl<'a> Send for GetPropertiesParamsBuilder<'a>
impl<'a> Sync for GetPropertiesParamsBuilder<'a>
impl<'a> Unpin for GetPropertiesParamsBuilder<'a>
impl<'a> UnsafeUnpin for GetPropertiesParamsBuilder<'a>
impl<'a> UnwindSafe for GetPropertiesParamsBuilder<'a>
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