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