Struct rocfl::ocfl::LogicalPath
source · [−]pub struct LogicalPath { /* private fields */ }
Expand description
Represents the logical path to a file in an object.
Implementations
Creates a new content path by directly mapping the logical path to a content path
Trait Implementations
fn deserialize<D>(deserializer: D) -> Result<LogicalPath, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<LogicalPath, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Returns an iterable containing each segment of the path split on the /
separator
Returns the part of the logical path that’s after the final /
or the entire path if
there is no /
Returns true if the path starts with the given prefix
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for LogicalPath
impl Send for LogicalPath
impl Sync for LogicalPath
impl Unpin for LogicalPath
impl UnwindSafe for LogicalPath
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more