Trait transit_model::AddPrefix [−][src]
Trait for object that can be prefixed
Required methods
fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
[src]
Add the prefix to all elements of the object that needs to be prefixed. PrefixConfiguration contains all the needed metadata to create the complete prefix.
Provided methods
fn add_prefix(&mut self, prefix: &str)
[src]
👎 Deprecated since 0.24.0:
please use AddPrefix::prefix()
instead
Add the prefix to all elements of the object that needs to be prefixed.
fn add_prefix_with_sep(&mut self, prefix: &str, sep: &str)
[src]
👎 Deprecated since 0.24.0:
please use AddPrefix::prefix()
instead
Add the prefix to all elements of the object that needs to be prefixed. A separator will be placed between the prefix and the identifier.
Implementations on Foreign Types
impl<T> AddPrefix for Collection<T> where
T: AddPrefix,
[src]
T: AddPrefix,
fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
[src]
impl<T> AddPrefix for CollectionWithId<T> where
T: Id<T> + AddPrefix,
[src]
T: Id<T> + AddPrefix,