pub struct ContentSlotArgs<'a> {
pub node_id: Option<WIPOffset<&'a str>>,
pub content_key: Option<WIPOffset<&'a str>>,
pub source: Option<WIPOffset<ContentSource<'a>>>,
pub fallback: Option<WIPOffset<&'a str>>,
pub cache_strategy: ContentCacheStrategy,
pub content_type: ContentType,
pub locale: Option<WIPOffset<&'a str>>,
}Fields§
§node_id: Option<WIPOffset<&'a str>>§content_key: Option<WIPOffset<&'a str>>§source: Option<WIPOffset<ContentSource<'a>>>§fallback: Option<WIPOffset<&'a str>>§cache_strategy: ContentCacheStrategy§content_type: ContentType§locale: Option<WIPOffset<&'a str>>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ContentSlotArgs<'a>
impl<'a> RefUnwindSafe for ContentSlotArgs<'a>
impl<'a> Send for ContentSlotArgs<'a>
impl<'a> Sync for ContentSlotArgs<'a>
impl<'a> Unpin for ContentSlotArgs<'a>
impl<'a> UnsafeUnpin for ContentSlotArgs<'a>
impl<'a> UnwindSafe for ContentSlotArgs<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more