Expand description
Represents an interwiki object in the interwikimap
field of a SiteInfo
.
Contains only the fields required to generate two InterwikiSet
s that can be used
by a TitleCodec
to parse the interwikis in a Title
.
Supports formatversion=1
where the localinterwiki
field is ""
for local interwikis,
and formatversion=2
where it is true
.
Fields
prefix: String
local_interwiki: bool
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Interwiki
impl<'de> Deserialize<'de> for Interwiki
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Interwiki
impl Send for Interwiki
impl Sync for Interwiki
impl Unpin for Interwiki
impl UnwindSafe for Interwiki
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more