pub struct Post<'a> { /* private fields */ }
Expand description
The wall.post API request.
Implementations
sourceimpl<'a> Post<'a>
impl<'a> Post<'a>
pub fn new() -> Self
pub fn owner_id(&mut self, value: OwnerId) -> &mut Self
pub fn friend_only(&mut self, value: bool) -> &mut Self
pub fn from_group(&mut self, value: bool) -> &mut Self
pub fn signed(&mut self, value: bool) -> &mut Self
pub fn publish_date(&mut self, value: Timestamp) -> &mut Self
pub fn lat(&mut self, value: f32) -> &mut Self
pub fn long(&mut self, value: f32) -> &mut Self
pub fn place_id(&mut self, value: Id) -> &mut Self
pub fn post_id(&mut self, value: Id) -> &mut Self
pub fn message(&mut self, value: &'a str) -> &mut Self
pub fn services(&mut self, value: &'a str) -> &mut Self
Trait Implementations
sourceimpl<'a> Request for Post<'a>
impl<'a> Request for Post<'a>
type Response = PostId
fn method_name() -> &'static str
fn permissions() -> Permissions
fn to_query_string(&self) -> String
fn to_url(&self) -> Url
impl<'a> StructuralPartialEq for Post<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Post<'a>
impl<'a> Send for Post<'a>
impl<'a> Sync for Post<'a>
impl<'a> Unpin for Post<'a>
impl<'a> UnwindSafe for Post<'a>
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