[−][src]Struct onedrive_api::FileName
An valid file name str (unsized).
Methods
impl FileName
[src]
pub fn new<S: AsRef<str> + ?Sized>(name: &S) -> Option<&Self>
[src]
Check and wrap the name for a file or a directory in OneDrive.
Returns None if contains invalid characters.
See also
pub fn as_str(&self) -> &str
[src]
View the file name as &str
. It is cost-free.