pub struct DeprecationIssueDetailsBuilder { /* private fields */ }Expand description
Builder for DeprecationIssueDetails.
Implementations§
Source§impl DeprecationIssueDetailsBuilder
impl DeprecationIssueDetailsBuilder
pub fn affected_frame<VALUE: Into<AffectedFrame>>( &mut self, value: VALUE, ) -> &mut Self
pub fn source_code_location<VALUE: Into<SourceCodeLocation>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
Sourcepub fn build(
&self,
) -> Result<DeprecationIssueDetails, DeprecationIssueDetailsBuilderError>
pub fn build( &self, ) -> Result<DeprecationIssueDetails, DeprecationIssueDetailsBuilderError>
Trait Implementations§
Source§impl Clone for DeprecationIssueDetailsBuilder
impl Clone for DeprecationIssueDetailsBuilder
Source§fn clone(&self) -> DeprecationIssueDetailsBuilder
fn clone(&self) -> DeprecationIssueDetailsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DeprecationIssueDetailsBuilder
impl RefUnwindSafe for DeprecationIssueDetailsBuilder
impl Send for DeprecationIssueDetailsBuilder
impl Sync for DeprecationIssueDetailsBuilder
impl Unpin for DeprecationIssueDetailsBuilder
impl UnsafeUnpin for DeprecationIssueDetailsBuilder
impl UnwindSafe for DeprecationIssueDetailsBuilder
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