/// Creates a new response, generating a unique id for it
Creates a new response, generating a unique id for it
Creates a new response generating a unique id for it
pub fn new(tenant: impl Into<String>, origin_id: usize, payload: Vec<ResponseData>) -> Self {
        let id = rand::random();
        Self {
            tenant: tenant.into(),
            id,
            origin_id,
            payload,
        }
    }
pub fn new ( tenant : impl Into < String > , origin_id : usize , payload : Vec < ResponseData > ) -> Self { let id = rand :: random ( ) ; Self { tenant : tenant . into ( ) , id , origin_id , payload , } }
Creates a new response, generating a unique id for it
Creates a new response generating a unique id for it
tenant
impl Into<String>
<not_specific>
origin_id
usize
<not_specific>
payload
Vec<ResponseData>
<not_specific>