Struct gitmoji_rs::LocalGitmojiConfig
source · pub struct LocalGitmojiConfig { /* private fields */ }
Expand description
The local gitmoji configuration
Implementations§
source§impl LocalGitmojiConfig
impl LocalGitmojiConfig
sourcepub fn format(&self) -> Option<EmojiFormat>
pub fn format(&self) -> Option<EmojiFormat>
The format of gitmoji (code or emoji)
Trait Implementations§
source§impl Clone for LocalGitmojiConfig
impl Clone for LocalGitmojiConfig
source§fn clone(&self) -> LocalGitmojiConfig
fn clone(&self) -> LocalGitmojiConfig
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 LocalGitmojiConfig
impl Debug for LocalGitmojiConfig
source§impl Default for LocalGitmojiConfig
impl Default for LocalGitmojiConfig
source§fn default() -> LocalGitmojiConfig
fn default() -> LocalGitmojiConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalGitmojiConfig
impl<'de> Deserialize<'de> for LocalGitmojiConfig
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<LocalGitmojiConfig> for LocalGitmojiConfig
impl PartialEq<LocalGitmojiConfig> for LocalGitmojiConfig
source§fn eq(&self, other: &LocalGitmojiConfig) -> bool
fn eq(&self, other: &LocalGitmojiConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LocalGitmojiConfig
impl Serialize for LocalGitmojiConfig
impl Eq for LocalGitmojiConfig
impl StructuralEq for LocalGitmojiConfig
impl StructuralPartialEq for LocalGitmojiConfig
Auto Trait Implementations§
impl RefUnwindSafe for LocalGitmojiConfig
impl Send for LocalGitmojiConfig
impl Sync for LocalGitmojiConfig
impl Unpin for LocalGitmojiConfig
impl UnwindSafe for LocalGitmojiConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.