pub struct WordPressPluginHeader { /* private fields */ }Expand description
WordPress plugin header metadata.
Implementations§
Source§impl WordPressPluginHeader
impl WordPressPluginHeader
pub fn new( name: WordPressPluginHeaderName, value: WordPressText, ) -> WordPressPluginHeader
pub const fn name(&self) -> &WordPressPluginHeaderName
pub const fn value(&self) -> &WordPressText
Trait Implementations§
Source§impl Clone for WordPressPluginHeader
impl Clone for WordPressPluginHeader
Source§fn clone(&self) -> WordPressPluginHeader
fn clone(&self) -> WordPressPluginHeader
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 WordPressPluginHeader
impl Debug for WordPressPluginHeader
Source§impl PartialEq for WordPressPluginHeader
impl PartialEq for WordPressPluginHeader
Source§fn eq(&self, other: &WordPressPluginHeader) -> bool
fn eq(&self, other: &WordPressPluginHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WordPressPluginHeader
impl StructuralPartialEq for WordPressPluginHeader
Auto Trait Implementations§
impl Freeze for WordPressPluginHeader
impl RefUnwindSafe for WordPressPluginHeader
impl Send for WordPressPluginHeader
impl Sync for WordPressPluginHeader
impl Unpin for WordPressPluginHeader
impl UnsafeUnpin for WordPressPluginHeader
impl UnwindSafe for WordPressPluginHeader
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