Enum ft_cli::types::FileMode [−][src]
Variants
Deleted(String)
Created(String)
Modified(String)
Implementations
impl FileMode
[src]
impl FileMode
[src]pub fn id(&self, root_dir: &str, collection: &str) -> Result<String>
[src]
pub fn id_with_extension(
&self,
root_dir: &str,
collection: &str
) -> Result<String>
[src]
&self,
root_dir: &str,
collection: &str
) -> Result<String>
pub fn content(&self) -> Result<String>
[src]
pub fn raw_content(&self, title: &str) -> Result<String>
[src]
pub fn raw_content_with_content(&self, title: &str, content: &str) -> String
[src]
pub fn path(&self) -> PathBuf
[src]
pub fn path_str(&self) -> String
[src]
pub fn extension(&self) -> String
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnwindSafe for FileMode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
T: Any,