pub fn new(prefix: impl Into<String>, access: T) -> Self {
        let prefix = prefix.into();
        assert_valid_name_component(prefix.as_ref());
        Self { access, prefix }
    }
/// Creates a new prefixed access.
///
/// # Panics
///
/// - Will panic if the prefix is not a [valid prefix name].
///
/// [valid prefix name]: ../validation/fn.is_valid_index_name_component.html
Creates a new prefixed access.
Creates a new prefixed access .
pub fn new(prefix: impl Into<String>, access: T) -> Self {
        let prefix = prefix.into();
        assert_valid_name_component(prefix.as_ref());
        Self { access, prefix }
    }
pub fn new ( prefix : impl Into < String > , access : T ) -> Self { let prefix = prefix . into ( ) ; assert_valid_name_component ( prefix . as_ref ( ) ) ; Self { access , prefix } }
Creates a new prefixed access.
Creates a new prefixed access .
prefix
impl Into<String>
access
T
prefix
impl Into<String>
access
T
panics
Will panic if the prefix is not a [valid prefix name].

[valid prefix name]: ../validation/fn.is_valid_index_name_component.html
Will panic if the prefix is not a [ valid prefix name ] . [ valid prefix name ] : .. / validation / fn . is_valid_index_name_component . html